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

From Tom Lane
Subject Re: [proposal] Add an option for returning SQLSTATE in psql error message
Date
Msg-id 31422.1543855909@sss.pgh.pa.us
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
didier <did447@gmail.com> writes:
> Yep, name is bad, but I'm not sure about VERBOSITY, isn't it
> controlling output from the server not the client?

No, it's in libpq, so you'd have to touch that not the server.

I agree with Andrew's thought, and would further say that just
"\set VERBOSITY sqlstate" would be a reasonable API.  Making this
separate from VERBOSITY is weird.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: doc - improve description of default privileges
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] CLUSTER command progress monitor