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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Why do we have a database specification in .pgpass?
Date: 2010-10-14 01:39:04
Message-ID: 4CB65F38.9020600@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Geery 2010-10-14 01:41:46 Re: Re: starting to review the Extend NOT NULL representation to pg_constraint patch
Previous Message Robert Haas 2010-10-14 01:27:28 Re: ask for review of MERGE