Re: Small doc patch about pg_service.conf - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Small doc patch about pg_service.conf
Date
Msg-id 20150103193650.GA2279705@tornado.leadboat.com
Whole thread Raw
In response to Re: Small doc patch about pg_service.conf  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Small doc patch about pg_service.conf
List pgsql-hackers
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@fetter.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.



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Small doc patch about pg_service.conf
Next
From: David Fetter
Date:
Subject: Re: Small doc patch about pg_service.conf