Re: AW: Proposal: More flexible backup/restore via pg_dump
Philip Warner <pjw@rhyme.com.au>
From: Philip Warner <pjw@rhyme.com.au>
To: Giles Lean <giles@nemeton.com.au>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>, pgsql-hackers@postgresql.org
Date: 2000-06-28T03:10:39Z
Lists: 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 |/