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

Поиск
Список
Период
Сортировка
От Kenneth Marshall
Тема Re: Why do we have a database specification in .pgpass?
Дата
Msg-id 20101014134616.GF14946@aart.is.rice.edu
обсуждение исходный текст
Ответ на Re: Why do we have a database specification in .pgpass?  (Dennis Björklund <db@zigo.dhs.org>)
Список pgsql-hackers
On Thu, Oct 14, 2010 at 06:09:35AM +0200, Dennis Bj??rklund wrote:
> > 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
> 

This will allow the same user to save and use automatically different
passwords for each separate database.

Cheers,
Ken


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL command to edit postgresql.conf, with comments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL command to edit postgresql.conf, with comments