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

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2010-10-14T01:39:04Z
Lists: pgsql-hackers

On 10/13/2010 02:32 PM, Bruce Momjian 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.

If you use wildcards for some of the other params it could well be useful.

cheers

andrew