Re: BUG #16330: psql accesses null pointer in connect.c:do_connect

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, hghwng@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2020-04-01T06:07:25Z
Lists: pgsql-bugs
On Tue, Mar 31, 2020 at 10:52:59AM -0300, Alvaro Herrera wrote:
> Looks better :-)

Thanks to both of you for the suggestions and the reviews.  Fix this
way then.
--
Michael

Commits

  1. Fix crash in psql when attempting to reuse old connection

  2. psql: Show IP address in \conninfo