Re: .ini support for .pgpass - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: .ini support for .pgpass
Date
Msg-id 1302111081.23164.1.camel@jd-desktop
Whole thread Raw
In response to Re: .ini support for .pgpass  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
On Wed, 2011-04-06 at 09:10 +0200, Martijn van Oosterhout wrote:
> On Tue, Apr 05, 2011 at 11:55:04PM -0700, Joshua D. Drake wrote:
> > I want to achieve two things:
> > 
> > 1. More understandable .pgpass format. Yes, I understand our standard
> > format, most people won't. Like JoshB said, hard to debug.
> 
> This I understand.
> 
> > 2. psql foo, gets me into foo. A macro for connections if you will.
> 
> But this is precisely what the service file achieves, right? ISTM what
> you d like is to be able to specify the password in the service file,
> in which case pgpass is not consulted.

Right, as I said (I thought) earlier, after reviewing pg_service it
seems that pgpass is (or pg_service is) redundant. It should be one
file.

JD

> 
> Have a nice day,

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Windows build issues
Next
From: Peter Eisentraut
Date:
Subject: Re: Should psql support URI syntax?