From 945a3e44b069c89a27ef1f601aaee897d39c8b27 Mon Sep 17 00:00:00 2001 From: haszi Date: Sat, 29 Jun 2024 14:45:12 +0200 Subject: [PATCH] Add PGSQL_ERRORS_SQLSTATE --- reference/pgsql/constants.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/reference/pgsql/constants.xml b/reference/pgsql/constants.xml index 62068bf62165..d3dc79b3721e 100644 --- a/reference/pgsql/constants.xml +++ b/reference/pgsql/constants.xml @@ -630,6 +630,22 @@ + + + PGSQL_ERRORS_SQLSTATE + (int) + + + + Passed to pg_set_error_verbosity. + Includes only the error severity and the SQLSTATE error code. + If no error code is available, the output is like + PGSQL_ERRORS_TERSE mode. + Before PostgreSQL 11.1, the output is always the same + as in PGSQL_ERRORS_TERSE mode. + + +