Re: [proposal] Add an option for returning SQLSTATE in psql error message
didier <did447@gmail.com>
From: didier <did447@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: andrew@tao11.riddles.org.uk, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-12-03T17:57:32Z
Lists: pgsql-hackers
Attachments
- master_verbosity_sqlstate.diff (text/x-patch) patch
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).
Commits
-
Add a "SQLSTATE-only" error verbosity option to libpq and psql.
- 7bac3acab4d5 12.0 landed