1. 07 10月, 1998 1 次提交
  2. 06 10月, 1998 2 次提交
  3. 19 7月, 1998 1 次提交
    • B
      pg_dump -z has gotten rather thoroughly broken in the last couple · 916710fc
      Bruce Momjian 提交于
      of days --- it was emitting stuff like
      	REVOKE ALL on 'table' from PUBLIC; GRANT ALL on "table" to
      	"Public"; neither of which work.  While I was at it I
      cleaned up a few other things:
      
      * \connect commands are issued only in -z mode.  In this way,
      reloading a pg_dump script made without -z will generate a simple
      database wholly owned by the invoking user, rather than a mishmash
      of tables owned by various people but lacking in access rights.
      (Analogy: cp versus cp -p.)
      
      * \connect commands are issued just before COPY FROM stdin commands;
      without this, reloading a database containing non-world-writable
      tables tended to fail because the COPY was not necessarily attempted
      as the table owner.
      
      * Redundant \connect commands are suppressed (each one costs a
      backend launch, so...).
      
      * Man page updated (-z wasn't ever documented).
      
      The first two items were discussed in a pgsql-hackers thread around
      6 May 98 ("An item for the TODO list: pg_dump and multiple table
      owners") but no one had bothered to deal with 'em yet.
      
      			regards, tom lane
      916710fc
  4. 24 6月, 1998 1 次提交
  5. 29 1月, 1998 1 次提交
  6. 12 1月, 1998 1 次提交
  7. 02 12月, 1997 1 次提交
  8. 30 10月, 1997 1 次提交
  9. 23 1月, 1997 1 次提交
  10. 18 1月, 1997 1 次提交
  11. 12 12月, 1996 1 次提交
  12. 11 12月, 1996 1 次提交
  13. 17 11月, 1996 1 次提交
  14. 14 11月, 1996 1 次提交