pg_dump owner and acl fix #2
Started by Christopher Kings-Lynneabout 22 years ago2 messagespatches
Re: pg_dump owner and acl fix #2
Patch applied. Thanks.
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-Lynne wrote:
OK,
This version works wonderfully on my production database.
Chris
[ application/x-gzip is not supported, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073