pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dcwatson@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14872: libpq requires a home directory
Date: Wed, 25 Oct 2017 18:10:36 -0400
Message-ID: <27255.1508969436@sss.pgh.pa.us> (raw)
In-Reply-To: <26003.1508967614@sss.pgh.pa.us>
References: <20171025200457.1471.34504@wrigleys.postgresql.org>
	<26003.1508967614@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (7+ messages)  latest in thread

Message-ID: <27255.1508969436@sss.pgh.pa.us>
Permalink:  ../27255.1508969436@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27255.1508969436@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dcwatson@gmail.com
  Subject: Re: BUG #14872: libpq requires a home directory
  In-Reply-To: <27255.1508969436@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox