Re: pg_dump in 7.4 - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: pg_dump in 7.4
Date
Msg-id GNELIHDDFBOCMGBFGEFOKEILCEAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: pg_dump in 7.4  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: pg_dump in 7.4  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> pg_dump already has rudimentary dependency tracking (one level
> deep); each
> item can have a list of oid's it depends on. You *could* patch it to add
> the types to the table dependencies.
>
> In the future I'd imagine we'll just dump the OIDs of all first level
> dependencies for each object, then at restore-time, process them in
> whatever order the user requests (defaulting to dependency-order).

Well, the problem is that you can add a new type and then add a column to a
really old table that uses that type - that causes pain.  Lots of other
people have also reported the "view dumped before table it is based on"
problem.

Chris



pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_dump in 7.4
Next
From: "Ross J. Reedstrom"
Date:
Subject: performance regression, 7.2.3 -> 7.3b5 w/ VIEW