On 2019-May-27, Noah Misch wrote:
> Other than that, the \connect behavior change makes sense to me. However,
> nothing updated \connect documentation. (Even the commit log message said
> nothing about \connect.)
I added this blurb to the paragraph that documents the reusing behavior:
If <literal>hostaddr</literal> was specified in the original
connection's <structname>conninfo</structname>, that address is reused
for the new connection (disregarding any other host specification).
Thanks for reporting these problems. I'm going to push this shortly.
We can revise over the weekend, if there's need.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services