Re: fix psql \conninfo & \connect when using hostaddr - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: fix psql \conninfo & \connect when using hostaddr
Date
Msg-id alpine.DEB.2.21.1811171551540.16105@lancre
Whole thread Raw
In response to Re: fix psql \conninfo & \connect when using hostaddr  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: fix psql \conninfo & \connect when using hostaddr
List pgsql-hackers
Hello Pavel,

> I think so some redundant messages can be reduced - see function 
> printConnInfo - attached patch

I thought about doing like that, but I made the debatable choice to keep 
the existing redundancy because it minimizes diffs and having a 
print-to-stdout special function does not look like a very clean API, as 
it cannot really be used by non CLI clients.

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Next
From: Tom Lane
Date:
Subject: Re: Testing against RHEL 8 Beta, python issue