Re: BUG #2484: pg_dump not support < redirect

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: BUG #2484: pg_dump not support < redirect
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FA30@algol.sollentuna.se
обсуждение исходный текст
Ответ на BUG #2484: pg_dump not support < redirect  ("Yu-Lung Shao" <allen_shao@seed.net.tw>)
Список pgsql-bugs
> Bug reference:      2484
> Logged by:          Yu-Lung Shao
> Email address:      allen_shao@seed.net.tw
> PostgreSQL version: 8.1.4-1
> Operating system:   WinXP Home
> Description:        pg_dump not support < redirect
> Details:=20
>=20
> file: backup.cmd=20
>=20
> pg_dump.exe dbname -U postgres -W -f dbname.sql < password.txt
>=20
> in 8.0.3 is work
>=20
> in 8.1.4 is not work need manual key in password.

The bug is in 8.0.3 (and <=3D 8.1.3 as well), fixed in the latest
versions. If you want to pass the password to pg_dump, use pgpass.conf
or the PGPASSWORD environment variable.

//Magnus

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Yu-Lung Shao"
Дата:
Сообщение: BUG #2484: pg_dump not support < redirect
Следующее
От: "Peter Brant"
Дата:
Сообщение: Re: [Win32] Problem with rename()