Fixing pg_dump - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Fixing pg_dump
Date
Msg-id 40DA517C.2030406@familyhealth.com.au
Whole thread Raw
Responses Re: Fixing pg_dump
List pgsql-hackers
OK,

I think it might save me some time if I get some guidance on how we 
should modify pg_dump to fix the owner/grants issue.

I intend to make new archives created with 7.5 pg_dump have the fix, and  restoring pre 7.5 binary dumps will have
exactlythe previous 
 
behaviour.  The reason for this is that extracting the acls and owners 
to the end requires scanning the entire archive twice - not necessarily 
something we want to do (is it?)

So, I have to make acls and owners completely independent 
DumpableObjects, right?  Then I can get them sorted to the end, etc., etc.

I also intend to implement a flag that makes it use the sql standard set 
session_authorization behaviour.

Is all that the way to go?

Chris



pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: PREPARE and transactions
Next
From: Tom Lane
Date:
Subject: Re: pg_largeobject and tablespaces