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 по дате отправления:

Предыдущее
От: "Jay O'Connor"
Дата:
Сообщение: Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL
Следующее
От: "Rick Gigger"
Дата:
Сообщение: Re: PostgreSQL Advocacy, Thoughts and Comments