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

2010-10-21 Thread Bruce Momjian
Peter Eisentraut wrote: On ons, 2010-10-13 at 14:32 -0400, 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

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

2010-10-16 Thread Peter Eisentraut
On ons, 2010-10-13 at 14:32 -0400, 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.

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

2010-10-14 Thread Alvaro Herrera
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

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

2010-10-14 Thread Andrew Dunstan
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

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

2010-10-14 Thread Dennis Björklund
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

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

2010-10-14 Thread Pavel Golub
Hello, Bruce. You wrote: BM We have a database specification in .pgpass: BM hostname:port:database:username:password BM What is the purpose of 'database' since username/password combinations BM are global, not per database? I would like to documents its purpose. BM -- BM Bruce

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

2010-10-14 Thread Kenneth Marshall
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

[HACKERS] Why do we have a database specification in .pgpass?

2010-10-13 Thread Bruce Momjian
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. -- Bruce Momjian br...@momjian.us