Re: pg_hba.conf, md5 and .pgpass

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_hba.conf, md5 and .pgpass
Дата
Msg-id 29714.1170739085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_hba.conf, md5 and .pgpass  ("Mick McElarney" <Mick.McElarney@maxsp.com>)
Список pgsql-novice
"Mick McElarney" <Mick.McElarney@maxsp.com> writes:
> What should I change so that it reads my /home/postgres/.pgpass file
> when I execute a psql -Upostgres databasename?

When you're logged in as somebody besides postgres, you mean?  It can't
do that, and it'd be a huge security hole if it could.

You can, however, have it read your *own* .pgpass file for an entry
giving the postgres password.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Composed Key and autoincrement
Следующее
От: "Ashish Karalkar"
Дата:
Сообщение: Re: Stored Procedure to return a result set