Re: fix psql \conninfo & \connect when using hostaddr
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>, Fabien COELHO <coelho@cri.ensmp.fr>, Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>, Arthur Zakirov <a.zakirov@postgrespro.ru>, Robert Haas <robertmhaas@gmail.com>
Date: 2019-06-24T23:51:04Z
Lists: pgsql-hackers
On Mon, Jun 24, 2019 at 08:52:00AM -0400, Alvaro Herrera wrote: > On 2019-Jun-24, Michael Paquier wrote: > > On Fri, Jun 14, 2019 at 06:31:52PM -0400, Alvaro Herrera wrote: > > > BTW I tested this manually and it seemed to work as intended, ie., if I > > > change /etc/hosts for the hostname I am using between one connection and > > > the next, we do keep the hostaddr if it was specified, or we resolve the > > > name again if it's not. > > > > Alvaro, did 313f56ce fix all the issues related to this thread? > > Yes, as far as I am aware it does. I agree, it did.
Commits
-
Tweak libpq's PQhost, PQhostaddr, and psql's \connect
- 313f56ce2d1b 12.0 landed
-
psql: Show IP address in \conninfo
- 6e5f8d489acc 12.0 landed