Re: [proposal] Add an option for returning SQLSTATE in psql errormessage - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [proposal] Add an option for returning SQLSTATE in psql errormessage
Date
Msg-id feed8af4-da82-29ba-2741-3463b36c60d3@2ndquadrant.com
Whole thread Raw
In response to Re: Re: [proposal] Add an option for returning SQLSTATE in psql errormessage  (David Steele <david@pgmasters.net>)
Responses Re: [proposal] Add an option for returning SQLSTATE in psql error message
List pgsql-hackers
On 2019-03-21 19:01, David Steele wrote:
> What do you think, Peter?  Is the extra test valuable or will it cause 
> unpredictable outputs as Tom and Michael predict?

Yes, I'm OK with that.

But now that I read the patch again, I'm not sure why this needs to
touch libpq.  The formatting of error messages in psql should be handled
in psql.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_basebackup ignores the existing data directory permissions
Next
From: Simon Riggs
Date:
Subject: Re: Ordered Partitioned Table Scans