Re: [PATCHES] Fixes for pg_dump and ownership/acl problems - Mailing list pgsql-hackers

From Philip Warner
Subject Re: [PATCHES] Fixes for pg_dump and ownership/acl problems
Date
Msg-id 6.1.1.1.0.20040710124604.03148e10@203.8.195.10
Whole thread Raw
Responses Re: [PATCHES] Fixes for pg_dump and ownership/acl problems
List pgsql-hackers
At 12:19 PM 29/06/2004, Christopher Kings-Lynne wrote:
>It's hacky (although officially hacky :) ) in regards that it parses the 
>dropStmt on each object to get the objects name.  This is necessary 
>because of an oversight in the initial design of the binary format.

If there's something missing in the format, I'd be inclined to add it. 
We've never promised to make dumps made by version X readable (or usable) 
by version X-1. We *do* the opposite, however, so you will probably still 
need to parse dump statements from old dump files. Unless we can back-patch...

So, rather than carry the hack forward, doing it right for future versions 
would be my vote.




----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp.mit.edu:11371       |/  



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plperl security
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [Plperlng-devel] Re: plperl security