Re: Fixing pg_dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fixing pg_dump
Date
Msg-id 14760.1088092425@sss.pgh.pa.us
Whole thread Raw
In response to Fixing pg_dump  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: Fixing pg_dump
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> I intend to make new archives created with 7.5 pg_dump have the fix, and 
>   restoring pre 7.5 binary dumps will have exactly the 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?)

I might be wrong about this, but I had the idea that the entire archive
TOC gets loaded into memory, and so there'd be no noticeable penalty in
scanning it twice.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Cyril VELTER"
Date:
Subject: [Re] Re: PREPARE and transactions
Next
From: James Robinson
Date:
Subject: Re: bug in GUC