1. 02 7月, 2002 1 次提交
  2. 21 6月, 2002 1 次提交
  3. 14 6月, 2002 1 次提交
  4. 29 5月, 2002 1 次提交
    • T
      Rework pg_dump namespace search criteria so that dumping of user objects · 36a1e732
      Tom Lane 提交于
      having names conflicting with system objects will work --- the search
      path is now user-schema, pg_catalog rather than implicitly the other way
      around.  Note this requires being careful to explicitly qualify references
      to system names whenever pg_catalog is not first in the search path.
      Also, add support for dumping ACLs of schemas.
      36a1e732
  5. 23 5月, 2002 1 次提交
    • P
      Add optional "validator" function to languages that can validate the · d60f10b0
      Peter Eisentraut 提交于
      function body (and other properties) as a function in the language
      is created.  This generalizes ad hoc code that already existed for
      the built-in languages.
      
      The validation now happens after the pg_proc tuple of the new function
      is created, so it is possible to define recursive SQL functions.
      
      Add some regression test cases that cover bogus function definition
      attempts.
      d60f10b0
  6. 19 5月, 2002 1 次提交
  7. 18 5月, 2002 2 次提交
  8. 14 5月, 2002 1 次提交
    • T
      Make operators have their own comments separate from those of the · f69bc37b
      Tom Lane 提交于
      underlying function; but cause psql's \do to show the underlying
      function's comment if the operator has no comment of its own, to preserve
      the useful functionality of the original behavior.  Also, implement
      COMMENT ON SCHEMA.  Patch from Rod Taylor.
      f69bc37b
  9. 11 5月, 2002 1 次提交
  10. 07 5月, 2002 1 次提交
  11. 30 4月, 2002 1 次提交
  12. 29 4月, 2002 1 次提交
  13. 25 4月, 2002 1 次提交
  14. 24 4月, 2002 3 次提交
  15. 21 4月, 2002 1 次提交
  16. 20 4月, 2002 1 次提交
  17. 19 4月, 2002 1 次提交
    • T
      Rule names are now unique per-relation, rather than unique globally. · b3120804
      Tom Lane 提交于
      DROP RULE and COMMENT ON RULE syntax adds an 'ON tablename' clause,
      similar to TRIGGER syntaxes.  To allow loading of existing pg_dump
      files containing COMMENT ON RULE, the COMMENT code will still accept
      the old syntax --- but only if the target rulename is unique across
      the whole database.
      b3120804
  18. 14 4月, 2002 1 次提交
    • B
      Rod's patch does what it is supposed to do, but it also includes · 7603c42e
      Bruce Momjian 提交于
      some old code to add PK constraints to CREATE TABLE. That stuff
      had been removed as part of my original patch for pg_dump a
      little while ago.
      
      The attached patch fixes this by removing (again :-) ) the
      code in dumpTables() to perform PK creation during CREATE
      TABLE. I briefly tested it locally and it fixes both of
      Tom's test cases.
      
      Please apply.
      
      Cheers,
      
      Neil
      
      --
      Neil Conway <neilconway@rogers.com>
      7603c42e
  19. 12 4月, 2002 1 次提交
    • T
      Restructure representation of aggregate functions so that they have pg_proc · 902a6a0a
      Tom Lane 提交于
      entries, per pghackers discussion.  This fixes aggregates to live in
      namespaces, and also simplifies/speeds up lookup in parse_func.c.
      Also, add a 'proimplicit' flag to pg_proc that controls whether a type
      coercion function may be invoked implicitly, or only explicitly.  The
      current settings of these flags are more permissive than I would like,
      but we will need to debate and refine the behavior; for now, I avoided
      breaking regression tests as much as I could.
      902a6a0a
  20. 05 4月, 2002 2 次提交
  21. 21 3月, 2002 1 次提交
  22. 07 3月, 2002 1 次提交
    • B
      Enable ALTER TABLE ADD PRIMARY KEY for pg_dump, for performance reasons · 5b5cef9a
      Bruce Momjian 提交于
      so index is not on table during COPY.
      
      > > AFAICT, the patch I posted to -patches a little while to enable the
      > > usage of ALTER TABLE ADD PRIMARY KEY by pg_dump hasn't been applied, nor
      > > is it in the unapplied patches list. I was under the impression that
      > > this was in the queue for application -- did it just get lost?
      
      Neil Conway <neilconway@rogers.com>
      5b5cef9a
  23. 28 2月, 2002 1 次提交
  24. 11 2月, 2002 1 次提交
  25. 07 2月, 2002 1 次提交
  26. 26 1月, 2002 1 次提交
  27. 19 1月, 2002 1 次提交
  28. 12 1月, 2002 1 次提交
    • T
      Fix pg_dump to read-lock all tables to be dumped as soon as it's read · 0e1a5075
      Tom Lane 提交于
      their names from pg_class.  This considerably reduces the window wherein
      someone could DROP or ALTER a table that pg_dump is intending to dump.
      Not a perfect solution, but definitely an improvement.  Per complaints
      from Marc Fournier; patch by Brent Verner with some kibitzing by Tom Lane.
      0e1a5075
  29. 28 10月, 2001 1 次提交
  30. 25 10月, 2001 1 次提交
  31. 23 10月, 2001 1 次提交
  32. 04 10月, 2001 1 次提交
  33. 03 10月, 2001 1 次提交
  34. 02 10月, 2001 1 次提交
    • T
      Change pg_dump to produce CREATE INDEX commands by using the backend's · 1929a90b
      Tom Lane 提交于
      pg_get_indexdef() function, rather than reaching into the system catalogs
      for itself.  This eliminates a fair amount of redundant code.  Also,
      since I just changed pg_get_indexdef() to suppress display of default
      index opclasses, this will mean that 7.2 and later dumps will not mention
      opclasses unless they are non-default opclasses.  Should make life easier
      for future index opclass reorganizations.
      1929a90b
  35. 22 9月, 2001 1 次提交
  36. 07 9月, 2001 1 次提交