Re: Why do we have a database specification in .pgpass?

Поиск
Список
Период
Сортировка
От Dennis Björklund
Тема Re: Why do we have a database specification in .pgpass?
Дата
Msg-id c67f26b0cdb72e0357a69ca5c45ce5d8.squirrel@zigo.org
обсуждение исходный текст
Ответ на Why do we have a database specification in .pgpass?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Why do we have a database specification in .pgpass?  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-hackers
> We have a database specification in .pgpass:
>
>     hostname:port:database:username:password
>
> What is the purpose of 'database' since username/password combinations
> are global, not per database?  I would like to documents its purpose.

There is the GUC parameter db_user_namespace. Just for that you could
probably  use dennis@foo as username instead, so maybe it's not the
purpose. But I can't think of any other reason.

/Dennis



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: signal and startup process
Следующее
От: Robert Haas
Дата:
Сообщение: Re: wip: functions median and percentile