OSDN Git Service

Change pg_dump to use ALTER OWNER commands instead of SET SESSION
authorBruce Momjian <bruce@momjian.us>
Tue, 13 Jul 2004 03:00:17 +0000 (03:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 13 Jul 2004 03:00:17 +0000 (03:00 +0000)
commitdc0e76ca36b4f7b91c3b83e53012585c5eccbe98
treeb4f83c3908358ae84eacdcce38786812bfcffef7
parente419c84c56a70d62ec267084ecf814bf132d0528
Change pg_dump to use ALTER OWNER commands instead of SET SESSION
AUTHORIZATION commands by default.  Move all GRANT and REVOKE commands
to the end of the dump to avoid restore failures in several situations.
Bring back --use-set-session-authorization option to get previous SET
behaviour

Christopher Kings-Lyne
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_restore.sgml
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_restore.c