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

From Tom Lane
Subject Re: .ini support for .pgpass
Date
Msg-id 11602.1302097624@sss.pgh.pa.us
Whole thread Raw
In response to Re: .ini support for .pgpass  (Marko Kreen <markokr@gmail.com>)
Responses Re: .ini support for .pgpass  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Marko Kreen <markokr@gmail.com> writes:
> On Wed, Apr 6, 2011 at 9:55 AM, Joshua D. Drake <jd@commandprompt.com> wrote:
>> 1. More understandable .pgpass format. Yes, I understand our standard
>> format, most people won't. Like JoshB said, hard to debug.

> How about allowing '#'-comments there and putting field
> list into all templates, examples and manpages?

> man 5 pgpass?

> pgpass.sample?

> IOW, do we need to change format or are we having documentation problem?

+1 for seeing this as a documentation problem.  I don't think that
converting the file to .ini style is going to somehow make it
magically easier to use --- people still have to understand it,
and frankly .ini format is just another format that not everyone knows.

#-comments seem like a fine idea.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: getting to beta
Next
From: aaronenabs
Date:
Subject: Re: Transaction log