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

From Pavel Stehule
Subject Re: [proposal] Add an option for returning SQLSTATE in psql error message
Date
Msg-id CAFj8pRBAuEXRyH7oo8o2rkm7mKsqNfqECa3ufYZ-0-tJqmvU2A@mail.gmail.com
Whole thread Raw
In response to Re: [proposal] Add an option for returning SQLSTATE in psql error message  (didier <did447@gmail.com>)
Responses Re: [proposal] Add an option for returning SQLSTATE in psql error message
List pgsql-hackers


po 3. 12. 2018 v 18:57 odesílatel didier <did447@gmail.com> napsal:
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).

It can works :). Please, assign it to next commitfest.

Regards

Pavel

pgsql-hackers by date:

Previous
From: didier
Date:
Subject: Re: [proposal] Add an option for returning SQLSTATE in psql error message
Next
From: Gilles Darold
Date:
Subject: Re: [PATCH] Log CSV by default