pgsql: libpq: Fix inadvertent change in .pgpass lookup behavior.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: libpq: Fix inadvertent change in .pgpass lookup behavior.
Date: 2017-05-01 15:34:38
Message-ID: E1d5DLS-0007iL-M2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: Fix inadvertent change in .pgpass lookup behavior.

Commit 274bb2b3857cc987cfa21d14775cae9b0dababa5 caused password file
lookups to use the hostaddr in preference to the host, but that was
not intended and the documented behavior is the opposite.

Report and patch by Kyotaro Horiguchi.

Discussion: http://postgr.es/m/20170428.165432.60857995.horiguchi.kyotaro@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bdac9836d3b910c5fd592aaeaac3c2e2e1defcad

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-05-01 15:54:18 pgsql: Update time zone data files to tzdata release 2017b.
Previous Message Andrew Dunstan 2017-05-01 14:58:12 pgsql: Allow vcregress.pl to run an arbitrary TAP test set