Thread: pg_dump owner and acl fix #2

pg_dump owner and acl fix #2

From
Christopher Kings-Lynne
Date:
OK,

This version works wonderfully on my production database.

Chris


Attachment

Re: pg_dump owner and acl fix #2

From
Bruce Momjian
Date:
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