Re: Small doc patch about pg_service.conf

From: David Fetter <david(at)fetter(dot)org>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Small doc patch about pg_service.conf
Date: 2015-01-03 19:52:30
Message-ID: 20150103195230.GD26414@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 03, 2015 at 02:36:50PM -0500, Noah Misch wrote:
> On Sat, Jan 03, 2015 at 01:22:02PM +0100, Magnus Hagander wrote:
> > On Wed, Dec 31, 2014 at 3:24 PM, David Fetter <david(at)fetter(dot)org> wrote:
> > > There was a slash missing, which I've added. Where is the default
> > > directory on Windows, or is there one?
> >
> > Applied, thanks.
>
> The old and the new documentation are both wrong. The directory libpq
> consults is `pg_config --sysconfdir`, which is packager-selected but rarely
> matches /etc itself. parseServiceInfo() has the code in question.

On my Fedora system, $(pg_config --sysconfdir) is /etc. What should
we put in the documentation?

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-01-03 20:03:45 Re: Small doc patch about pg_service.conf
Previous Message Noah Misch 2015-01-03 19:36:50 Re: Small doc patch about pg_service.conf