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

From: Dennis Björklund <db(at)zigo(dot)dhs(dot)org>
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 04:09:35
Message-ID: c67f26b0cdb72e0357a69ca5c45ce5d8.squirrel@zigo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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 that you could
probably use dennis(at)foo as username instead, so maybe it's not the
purpose. But I can't think of any other reason.

/Dennis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message mark 2010-10-14 04:22:16 Re: Slow count(*) again...
Previous Message Fujii Masao 2010-10-14 03:57:52 signal and startup process