Re: [proposal] Add an option for returning SQLSTATE in psql error message
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: didier <did447@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Pavel Stěhule <pavel.stehule@gmail.com>, andrew@tao11.riddles.org.uk, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-02-04T01:54:13Z
Lists: pgsql-hackers
On Mon, Jan 07, 2019 at 10:44:24PM +0100, didier wrote: > On Sat, Jan 5, 2019 at 6:30 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: >>> Why are you not including a test for \set VERBOSITY verbose? >> >> Stability of the output would be a problem ... >> >> Yes it could moreover the functionality wasn't tested before. > Should I add one ? Unpredictible outputs mean more maintenance and more alternate outputs. I have moved the patch to next CF, still ready for committer. -- Michael
Commits
-
Add a "SQLSTATE-only" error verbosity option to libpq and psql.
- 7bac3acab4d5 12.0 landed