Re: pg_dumpall asking for password for each database

Поиск
Список
Период
Сортировка
От Scott Mead
Тема Re: pg_dumpall asking for password for each database
Дата
Msg-id d3ab2ec80910061411p132248f4t91bdab0bf32852a1@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dumpall asking for password for each database  (Krzysztof Barlik <kbarlik@wp.pl>)
Список pgsql-general


2009/10/6 Krzysztof Barlik <kbarlik@wp.pl>
Hi,

 is it possible to force pg_dumpall to ask for
password only once (connecting as superuser 'postgres') ?

Entering it for every database is a bit annoying.

Kind of, you'll either use an environment variable:
     
http://www.postgresql.org/docs/8.4/interactive/libpq-envars.html
    (specifically PGPASSWORD)

   or the pgpass file:

http://www.postgresql.org/docs/´8.4/interactive/libpq-pgpass.html

--Scott

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Composite types and tables - when to use?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_dumpall asking for password for each database