Skip to content

Commit

Permalink
Add PGSQL_ERRORS_SQLSTATE
Browse files Browse the repository at this point in the history
  • Loading branch information
haszi committed Jun 29, 2024
1 parent 9d064b9 commit 945a3e4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions reference/pgsql/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,22 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.pgsql-errors-sqlstate">
<term>
<constant>PGSQL_ERRORS_SQLSTATE</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Passed to <function>pg_set_error_verbosity</function>.
Includes only the error severity and the <literal>SQLSTATE</literal> error code.
If no error code is available, the output is like
<constant>PGSQL_ERRORS_TERSE</constant> mode.
Before PostgreSQL 11.1, the output is always the same
as in <constant>PGSQL_ERRORS_TERSE</constant> mode.
</simpara>
</listitem>
</varlistentry>

<varlistentry xml:id="constant.pgsql-notice-last">
<term>
Expand Down

0 comments on commit 945a3e4

Please sign in to comment.