Re: BUG #14872: libpq requires a home directory
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: dcwatson@gmail.com, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Date: 2017-10-26T05:20:06Z
Lists: pgsql-bugs
On Wed, Oct 25, 2017 at 3:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Michael Paquier <michael.paquier@gmail.com> writes: >> On Wed, Oct 25, 2017 at 2:40 PM, Tom Lane <tgl@sss.pgh.pa.us> 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? > >> Yeah... I was halfway into hacking a patch for that but got drowned >> into other things until I saw your message. Are you working on a >> patch? > > Yeah, I'm on it. Okay, I'm dropping the ball then. Note: this has been fixed as db6986f. -- Michael
Commits
-
Fix libpq to not require user's home directory to exist.
- caeae886e216 9.2.24 landed
- ee02c1c897ee 9.5.10 landed
- db6986f47c95 11.0 landed
- 9f7afb25b911 9.4.15 landed
- 7dc66a2f6e3a 9.6.6 landed
- 6dd7a12075c2 9.3.20 landed
- 51e9fffba0fa 10.1 landed
-
Allow password file name to be specified as a libpq connection parameter.
- ba005f193d88 10.0 cited