Re: PG_DUMP question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: PG_DUMP question
Дата
Msg-id 20031202011733.GB18577@dcc.uchile.cl
обсуждение исходный текст
Ответ на PG_DUMP question  (Alex <alex@meerkatsoft.com>)
Ответы Re: PG_DUMP question
Список pgsql-general
On Tue, Dec 02, 2003 at 09:31:43AM +0900, Alex wrote:

> 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

Use the ~/.pgpass file.  It will work for any libpq program, not just
pg_dump.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"I call it GNU/Linux. Except the GNU/ is silent." (Ben Reiter)

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL
Следующее
От: merlyn@stonehenge.com (Randal L. Schwartz)
Дата:
Сообщение: Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL