Re: .ini support for .pgpass

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Aidan Van Dyk <aidan(at)highrise(dot)ca>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: .ini support for .pgpass
Date: 2011-04-06 17:31:21
Message-ID: 1302111081.23164.1.camel@jd-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-04-06 17:33:02 Re: Should psql support URI syntax?
Previous Message Peter Eisentraut 2011-04-06 17:27:22 Re: Windows build issues