On 2020-11-05 13:27, Peter Eisentraut wrote:
> A few client tools duplicate error messages already provided by libpq,
> such as
>
> pg_rewind: fatal: could not connect to server: could not connect to
> server: No such file or directory
>
> pg_basebackup: error: could not connect to server: could not connect to
> server: No such file or directory
>
> psql: error: could not connect to server: could not connect to server:
> No such file or directory
>
> The psql case is actually a regression introduced in PG12, but the other
> two appear to be ancient.
I have committed fixes for these.