PG_DUMP question

Поиск
Список
Период
Сортировка
От Alex
Тема PG_DUMP question
Дата
Msg-id 3FCBDD6F.2040801@meerkatsoft.com
обсуждение исходный текст
Ответы Re: PG_DUMP question
Список pgsql-general
Hi,
is ther a way to pass a password to the pg_dump command to avoid being
prompted for it.
I want to execute the dump from a perl or shell script and dont want to
open accees for the user in the pg_hba.conf

I tried
PGUSER=userid PGPASSWD=passwd pg_dump -Fc -f dump.db mydb;

Thanks
Alex




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