Re: AW: Proposal: More flexible backup/restore via pg_dump
От | Philip Warner |
---|---|
Тема | Re: AW: Proposal: More flexible backup/restore via pg_dump |
Дата | |
Msg-id | 3.0.5.32.20000628131039.024cde90@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: AW: Proposal: More flexible backup/restore via pg_dump (Giles Lean <giles@nemeton.com.au>) |
Список | pgsql-hackers |
At 08:48 28/06/00 +1000, Giles Lean wrote: > >> Part of the motivation for this utility was to allow DBAs to fix the >> ordering at restore time, but otherwise I totally agree. Unfortunately I >> don't think the RI checks can be delayed at this stage - can they? > >The current pg_dump handles the data and then adds the constraints. Not as far as I can see; that's what I want to do, bu there is no implemented syntax for doing it. pg_dump simply dumps the table definition with constraints (at least on 7.0.2). >Otherwise there are "chicken and egg" problems where two tables have >mutual RI constraints. Even at the tuple level two tuples can be >mutually dependent. Absolutely. And AFAICT, these happen with pg_dump. ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.C.N. 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: