Philip Warner <pjw@rhyme.com.au> writes:
> At 01:33 PM 13/11/2002 +0800, Christopher Kings-Lynne wrote:
>> Does this sound like an idea?
> It does, but in keeping with allowing pg_restore to be quite flexible, I'd
> like to see the dependency data stored in the dump file, then processed at
> restore-time.
No, because that doesn't help for the plain-text-dump case. I think we
should solve the dependencies during pg_dump and output the objects in a
safe order. pg_restore can keep its options for rearranging the order,
but those should become vestigial, or at least only needed in bizarre
cases.
regards, tom lane