From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | "Rod Taylor" <rod(dot)taylor(at)inquent(dot)com>, "Hackers List" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_dump issues |
Date: | 2001-01-26 03:09:05 |
Message-ID: | 3.0.5.32.20010126140905.02f6d930@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 14:48 24/01/01 -0500, Rod Taylor wrote:
>Could we add a flag to remove the postgres specific information from a
>pg_dump?
It's easy enough to do, but removing all PG-specific information is
probably undesirable since, eg, pg_dump does not dump foreign key
constraints in a standard way (it just dumps the rules). pg_dump also
issues '\connect' statements, and will dump user-defined types, rules and
functions that will probably not conform to the SQL standard.
Over time I would like to see the output of pg_dump become as standard as
possible - but in the mean time, would people see any value in a flag to do
any of the following:
(a) disable modifications to system tables (eg. turning off triggers and
constraints)
(b) just disable code which turns off the triggers? Or something else...
(c) something else....
I can actually see value in (b) since people may want to load a single
table *and* have triggers operating.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 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 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-01-26 03:13:29 | Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ] |
Previous Message | Tim Perdue | 2001-01-26 02:37:48 | Re: SourceForge & Postgres (fwd) |