Re: [proposal] Add an option for returning SQLSTATE in psql error message
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: did447@gmail.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Andrew Gierth <andrew@tao11.riddles.org.uk>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-12-03T18:01:28Z
Lists: 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
Commits
-
Add a "SQLSTATE-only" error verbosity option to libpq and psql.
- 7bac3acab4d5 12.0 landed