pg_dump -d

Started by Vincent Mauryabout 16 years ago2 messagesbugs
Jump to latest
#1Vincent Maury
vmaury79@yahoo.fr

Hi,

it seems pg_dump doesn't like -d option although it accepts --inserts. Same 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,

Vincent

#2Joshua Tolley
eggyknap@gmail.com
In reply to: Vincent Maury (#1)
Re: pg_dump -d

On Tue, Mar 02, 2010 at 11:09:49AM +0000, Vincent Maury wrote:

Hi,

it seems pg_dump doesn't like -d option although it accepts --inserts. Same 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,

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