| From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> | 
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> | 
| Cc: | pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: Anyone working on pg_dump dependency ordering? | 
| Date: | 2003-11-22 11:25:26 | 
| Message-ID: | 3FBF47A6.5000404@pse-consulting.de | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Christopher Kings-Lynne wrote:
>
>
> There are two levels (sort of) of dependency.  The first is that whole 
> classes of objects can be dependent on whole other classes.  eg. 
> databases depend on users, or ALL FK's can be dumped after ALL tables, 
> etc..  It would make the dump more readable if you dumped those 
> definite dependencies in that order, rather than shuffling everything up.
>
I agree that dumping should be done class-wise (Tables, Functions, 
Views) whenever possible, but I don't agree on FKs dumped separately 
from the table. IMHO indexes and constraints belong to the table, and 
modifying the dump will be hard if a table's code is scattered all around.
Regards,
Andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera Munoz | 2003-11-22 14:46:37 | Re: [HACKERS] More detail on settings for pgavd? | 
| Previous Message | Christopher Kings-Lynne | 2003-11-22 02:24:19 | Re: Anyone working on pg_dump dependency ordering? |