Re: psql shell with no password prompt

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: psql shell with no password prompt
Дата
Msg-id 4C4ECE440200002500033D7C@gw.wicourts.gov
обсуждение исходный текст
Ответ на psql shell with no password prompt  (Steve.Toutant@inspq.qc.ca)
Ответы Re: psql shell with no password prompt  (Steve.Toutant@inspq.qc.ca)
Список pgsql-admin
<Steve.Toutant@inspq.qc.ca> wrote:

> The script prompt for a password for user dbadmin.
> How to avoid that? I guess there is a config so dbadmin will
> "trust" this new user....

You can use pg_hba.conf or pgpass:

http://www.postgresql.org/docs/current/interactive/auth-pg-hba-conf.html

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

-Kevin

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

Предыдущее
От: Steve.Toutant@inspq.qc.ca
Дата:
Сообщение: psql shell with no password prompt
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pl/PHP build on PostgreSQL v9 beta?