Re: pg_dumpall asking for password for each database

Поиск
Список
Период
Сортировка
От Krzysztof Barlik
Тема Re: pg_dumpall asking for password for each database
Дата
Msg-id 200807050239.46251.kbarlik@wp.pl
обсуждение исходный текст
Ответ на Re: pg_dumpall asking for password for each database  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
> What version are you running?  IIRC it should remember the password
> between databases.

8.4.0 on Linux/x86_64. It does not, and man page clearly says:

"pg_dumpall  needs  to  connect  several  times  to  the
PostgreSQL  server (once per database). If you use password
authentication it will ask for a password  each  time."

Is there any specific reason for this behaviour ?

Thanks for Scott and Joshua - I read documentation about
.pgpass and PGPASSWORD, I just thought it would be a bit
more convenient and possibly safer to do it without
storing password in files or environment variables.

Thanks,
Krzysztof


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

Предыдущее
От: Zsolt
Дата:
Сообщение: Using complex PRIMARY KEY
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Using complex PRIMARY KEY