Skip site navigation (1) Skip section navigation (2)

Re: pg_dump issues

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: (view raw, whole thread or download thread mbox)
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

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

(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://          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from   |/

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-01-26 03:13:29
Subject: Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]
Previous:From: Tim PerdueDate: 2001-01-26 02:37:48
Subject: Re: SourceForge & Postgres (fwd)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group