Re: Why do we have a database specification in .pgpass? - Mailing list pgsql-hackers

From Dennis Björklund
Subject Re: Why do we have a database specification in .pgpass?
Date
Msg-id c67f26b0cdb72e0357a69ca5c45ce5d8.squirrel@zigo.org
Whole thread Raw
In response to Why do we have a database specification in .pgpass?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Why do we have a database specification in .pgpass?
List 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 by date:

Previous
From: Fujii Masao
Date:
Subject: signal and startup process
Next
From: Robert Haas
Date:
Subject: Re: wip: functions median and percentile