BUG #16868: Cannot find sqlstat error codes.

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16868: Cannot find sqlstat error codes.
Дата
Msg-id 16868-5a3f2d3e054eb85c@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #16868: Cannot find sqlstat error codes.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16868
Logged by:          bipsy Nair
Email address:      nbipin29@gmail.com
PostgreSQL version: 12.4
Operating system:   RDS and EC2
Description:

Hi,

I am not able to get any SQLSTATE Error code for Postgres on any versions on
RDS AWS or EC2 Postgres 10.

ERROR: No SQLSTATE genrated in Postgres. This was the error's which was
displayed.
=====
ERROR:  duplicate key value violates unique constraint
"pk_dml_error_logging"
DETAIL:  Key (id)=(1) already exists.

I am looking for a Error code like '23503' as per PG documentations
https://www.postgresql.org/docs/current/errcodes-appendix.html#ERRCODES-TABLE

Our developer needs a Error code generated so that they can trap in the
applications incase of any errors.
Please advice and provide a workaround.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16865: Regression: GIN Negated prefix search returns results that contain the search term
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16865: Regression: GIN Negated prefix search returns results that contain the search term