Обсуждение: pg_dump -d

Поиск
Список
Период
Сортировка

pg_dump -d

От
Vincent Maury
Дата:
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

Re: pg_dump -d

От
Joshua Tolley
Дата:
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