Re: [proposal] Add an option for returning SQLSTATE in psql error message

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: did447(at)gmail(dot)com
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [proposal] Add an option for returning SQLSTATE in psql error message
Date: 2018-12-03 18:01:28
Message-ID: CAFj8pRBAuEXRyH7oo8o2rkm7mKsqNfqECa3ufYZ-0-tJqmvU2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

po 3. 12. 2018 v 18:57 odesílatel didier <did447(at)gmail(dot)com> napsal:

> On Mon, Dec 3, 2018 at 5:51 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles Darold 2018-12-03 18:18:31 Re: [PATCH] Log CSV by default
Previous Message didier 2018-12-03 17:57:32 Re: [proposal] Add an option for returning SQLSTATE in psql error message