1. 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
  2. 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
  3. 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
  4. 05 4月, 2002 2 次提交
  5. 21 3月, 2002 1 次提交
  6. 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
  7. 28 2月, 2002 1 次提交
  8. 11 2月, 2002 1 次提交
  9. 07 2月, 2002 1 次提交
  10. 26 1月, 2002 1 次提交
  11. 19 1月, 2002 1 次提交
  12. 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
  13. 28 10月, 2001 1 次提交
  14. 25 10月, 2001 1 次提交
  15. 23 10月, 2001 1 次提交
  16. 04 10月, 2001 1 次提交
  17. 03 10月, 2001 1 次提交
  18. 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
  19. 22 9月, 2001 1 次提交
  20. 07 9月, 2001 1 次提交
  21. 06 9月, 2001 1 次提交
  22. 28 8月, 2001 1 次提交
  23. 27 8月, 2001 2 次提交
  24. 23 8月, 2001 1 次提交
  25. 20 8月, 2001 1 次提交
  26. 17 8月, 2001 1 次提交
    • T
      Sequences are now based on int8, not int4, arithmetic. SERIAL pseudo-type · d4f4b971
      Tom Lane 提交于
      has an alias SERIAL4 and a sister SERIAL8.  SERIAL8 is just the same
      except the created column is type int8 not int4.
      initdb forced.  Note this also breaks any chance of pg_upgrade from 7.1,
      unless we hack up pg_upgrade to drop and recreate sequences.  (Which is
      not out of the question, but I don't wanna do it.)
      d4f4b971
  27. 13 8月, 2001 1 次提交
  28. 11 8月, 2001 2 次提交
  29. 04 8月, 2001 2 次提交
  30. 30 7月, 2001 1 次提交
  31. 17 7月, 2001 1 次提交
  32. 16 7月, 2001 1 次提交
  33. 04 7月, 2001 1 次提交
  34. 28 6月, 2001 1 次提交
  35. 02 6月, 2001 1 次提交
    • B
      Fix for: · 597ca67e
      Bruce Momjian 提交于
      > Example form two pg_dump outputs
      > 7.1.2 :
      >       COPY "list"  FROM stdin;
      > 7.0.2 :
      >       COPY "list" FROM stdin;
      597ca67e
  36. 30 5月, 2001 1 次提交