Re: pg_dump -d - Mailing list pgsql-bugs

From Joshua Tolley
Subject Re: pg_dump -d
Date
Msg-id 4b8d309f.9513f30a.0f4c.4ad9@mx.google.com
Whole thread Raw
In response to pg_dump -d  (Vincent Maury <vmaury79@yahoo.fr>)
List pgsql-bugs
On Tue, Mar 02, 2010 at 11:09:49AM +0000, Vincent Maury wrote:
> Hi,
>=20
> it seems pg_dump doesn't like -d option although it accepts --inserts. Sa=
me with -D and --column-inserts.
> I'm using pg_dump 8.4.1 on Ubuntu 9.10. I hope this is useful for you.
> Thank you very much,
>=20
> Vincent

pg_dump's options changed between 8.3 and 8.4, in order to help prevent
potentially catastrophic slowdowns when people mistook the -d and -D options
to mean "Connect to this database" rather than as equivalents of --inserts =
and
--column-inserts. See the documentation for more details:

http://www.postgresql.org/docs/8.4/interactive/app-pgdump.html
http://www.postgresql.org/docs/8.4/interactive/release-8-4.html

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

pgsql-bugs by date:

Previous
From: Joshua Tolley
Date:
Subject: Re: BUG #5357: PGAdmin: SQL Query Editor does not (always) open files
Next
From: Tom Lane
Date:
Subject: Re: BUG #5351: compiling with --disable-shared is broken (patch included)