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

From Alvaro Herrera
Subject Re: Why do we have a database specification in .pgpass?
Date
Msg-id 1287022413-sup-2607@alvh.no-ip.org
Whole thread Raw
In response to Why do we have a database specification in .pgpass?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Excerpts from Bruce Momjian's message of mié oct 13 15:32:22 -0300 2010:
> 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.

I think when I wrote it, I was hoping that the db_user_namespace thing
would be changed into a real per-database user implementation.  That
would have meant having different passwords depending on the database.


-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: SQL command to edit postgresql.conf, with comments
Next
From: Alvaro Herrera
Date:
Subject: Re: string function - "format" function proposal