Re: BUG #16868: Cannot find sqlstat error codes. - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #16868: Cannot find sqlstat error codes.
Date
Msg-id CAKFQuwabPZazcbyB7Y5pTTCcUWjDC_s8kA+W5wWmXE2JBCFTVw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16868: Cannot find sqlstat error codes.  (bipsy Nair <nbipin29@gmail.com>)
Responses Re: BUG #16868: Cannot find sqlstat error codes.  (bipsy Nair <nbipin29@gmail.com>)
List pgsql-bugs
On Wednesday, February 17, 2021, bipsy Nair <nbipin29@gmail.com> wrote:
Thank you for the clarification.  But why do i dont see the SQLSTATE code for Postgres as per my test on psql clients etc.

If you put psql into verbose mode, or do \errverbose, you see the error code.  psql has, but chooses not to print, the error code in non-verbose mode.

David J. 

pgsql-bugs by date:

Previous
From: bipsy Nair
Date:
Subject: Re: BUG #16868: Cannot find sqlstat error codes.
Next
From: bipsy Nair
Date:
Subject: Re: BUG #16868: Cannot find sqlstat error codes.