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

From didier
Subject Re: [proposal] Add an option for returning SQLSTATE in psql error message
Date
Msg-id CAJRYxuKqFn-E-W-beC25dv7614u0Uo_YCXukTJREd8RG_9ibZw@mail.gmail.com
Whole thread Raw
In response to Re: [proposal] Add an option for returning SQLSTATE in psql error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [proposal] Add an option for returning SQLSTATE in psql error message  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Mon, Dec 3, 2018 at 5:51 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> No, it's in libpq, so you'd have to touch that not the server.
libpq, not as bad as the server but nonetheless maybe a bit too much for this.
Is adding value in library contract?

Anyway. attached a POC adding a new value to VERBOSITY (hopefully
nobody is using it).

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] CLUSTER command progress monitor
Next
From: Pavel Stehule
Date:
Subject: Re: [proposal] Add an option for returning SQLSTATE in psql error message