Re: redundant error messages

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-11-07T22:15:08Z
Lists: pgsql-hackers
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.



Commits

  1. Fix redundant error messages in client tools