Re: [BUGS] BUG #14872: libpq requires a home directory - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14872: libpq requires a home directory
Date
Msg-id 27255.1508969436@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14872: libpq requires a home directory  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] BUG #14872: libpq requires a home directory
List pgsql-bugs
I wrote:
> Poking around, it looks like parseServiceInfo's search for
> ~/.pg_service.conf has the same disease, but that code's been like that
> since 2010 --- I wonder why it's not causing you problems?  Are you maybe
> setting PGSERVICEFILE to prevent that from failing?

Ah, looking closer, we don't reach that code unless you've specified a
service name (either as a connection parameter or through the PGSERVICE
environment variable).  So it's not so surprising that nobody complained
about that case yet.  But it's still wrong.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14872: libpq requires a home directory
Next
From: Michael Paquier
Date:
Subject: Re: [BUGS] BUG #14872: libpq requires a home directory