Re: Calling pg_dump from another application in safe mode

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Calling pg_dump from another application in safe mode
Дата
Msg-id 456D5300.4010202@archonet.com
обсуждение исходный текст
Ответ на Calling pg_dump from another application in safe mode  ("Albert" <alberto.molteni@libero.it>)
Список pgsql-general
Albert wrote:
> Hi, I'm wondering if there is a method to call pg_dump from an external
> application without changing the security level in pg_hba.conf from
> trust to md5. I'd like to pass my password not in clear but using a
> secure cryptographic method like md5.

You want the ".pgpass" file - it's mentioned in the libpq section of the
docs.
http://www.postgresql.org/docs/8.1/static/libpq-pgpass.html

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Albert"
Дата:
Сообщение: Calling pg_dump from another application in safe mode
Следующее
От: "surabhi.ahuja"
Дата:
Сообщение: sudden drop in delete performance