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

From Andrew Dunstan
Subject Re: Why do we have a database specification in .pgpass?
Date
Msg-id 4CB65F38.9020600@dunslane.net
Whole thread Raw
In response to Why do we have a database specification in .pgpass?  (Bruce Momjian <bruce@momjian.us>)
List 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


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: [BUGS] rollback to savepoint leads to transaction already in progress
Next
From: Itagaki Takahiro
Date:
Subject: Re: string function - "format" function proposal