Why do we have a database specification in .pgpass?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Why do we have a database specification in .pgpass?
Date: 2010-10-13 18:32:22
Message-ID: 201010131832.o9DIWM701031@momjian.us
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.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-10-13 18:39:36 shmget error text reports funny max_connections numbers
Previous Message Kevin Grittner 2010-10-13 18:27:01 Re: [JDBC] Support for JDBC setQueryTimeout, et al.