Commit 3ba3e6c8 authored by Tom Lane's avatar Tom Lane

Clean up after someone's curious idea that it'd be good to strip

leading zeroes from the SQLSTATE codes.  They're strings, people,
not numbers.
parent e287fb27
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.18 2005/12/09 18:07:49 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.19 2006/06/16 22:41:45 tgl Exp $ -->
<appendix id="errcodes-appendix"> <appendix id="errcodes-appendix">
<title><productname>PostgreSQL</productname> Error Codes</title> <title><productname>PostgreSQL</productname> Error Codes</title>
...@@ -80,1251 +80,1289 @@ ...@@ -80,1251 +80,1289 @@
</row> </row>
<row> <row>
<entry>0</entry> <entry><literal>00000</literal></entry>
<entry>SUCCESSFUL COMPLETION</entry> <entry>SUCCESSFUL COMPLETION</entry>
<entry>successful_completion</entry> <entry>successful_completion</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 01&mdash; Warning</></entry> <entry spanname="span13"><emphasis role="bold">Class 01 &mdash; Warning</></entry>
</row> </row>
<row> <row>
<entry>1000</entry> <entry><literal>01000</literal></entry>
<entry>WARNING</entry> <entry>WARNING</entry>
<entry>warning</entry> <entry>warning</entry>
</row> </row>
<row> <row>
<entry>0100C</entry> <entry><literal>0100C</literal></entry>
<entry>DYNAMIC RESULT SETS RETURNED</entry> <entry>DYNAMIC RESULT SETS RETURNED</entry>
<entry>dynamic_result_sets_returned</entry> <entry>dynamic_result_sets_returned</entry>
</row> </row>
<row> <row>
<entry>1008</entry> <entry><literal>01008</literal></entry>
<entry>IMPLICIT ZERO BIT PADDING</entry> <entry>IMPLICIT ZERO BIT PADDING</entry>
<entry>implicit_zero_bit_padding</entry> <entry>implicit_zero_bit_padding</entry>
</row> </row>
<row> <row>
<entry>1003</entry> <entry><literal>01003</literal></entry>
<entry>NULL VALUE ELIMINATED IN SET FUNCTION</entry> <entry>NULL VALUE ELIMINATED IN SET FUNCTION</entry>
<entry>null_value_eliminated_in_set_function</entry> <entry>null_value_eliminated_in_set_function</entry>
</row> </row>
<row> <row>
<entry>1007</entry> <entry><literal>01007</literal></entry>
<entry>PRIVILEGE NOT GRANTED</entry> <entry>PRIVILEGE NOT GRANTED</entry>
<entry>privilege_not_granted</entry> <entry>privilege_not_granted</entry>
</row> </row>
<row> <row>
<entry>1006</entry> <entry><literal>01006</literal></entry>
<entry>PRIVILEGE NOT REVOKED</entry> <entry>PRIVILEGE NOT REVOKED</entry>
<entry>privilege_not_revoked</entry> <entry>privilege_not_revoked</entry>
</row> </row>
<row> <row>
<entry>1004</entry> <entry><literal>01004</literal></entry>
<entry>STRING DATA RIGHT TRUNCATION</entry> <entry>STRING DATA RIGHT TRUNCATION</entry>
<entry>string_data_right_truncation</entry> <entry>string_data_right_truncation</entry>
</row> </row>
<row> <row>
<entry>01P01</entry> <entry><literal>01P01</literal></entry>
<entry>DEPRECATED FEATURE</entry> <entry>DEPRECATED FEATURE</entry>
<entry>deprecated_feature</entry> <entry>deprecated_feature</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 02&mdash; No Data (this is also a warning class per the SQL standard)</></entry> <entry spanname="span13"><emphasis role="bold">Class 02 &mdash; No Data (this is also a warning class per the SQL standard)</></entry>
</row> </row>
<row> <row>
<entry>2000</entry> <entry><literal>02000</literal></entry>
<entry>NO DATA</entry> <entry>NO DATA</entry>
<entry>no_data</entry> <entry>no_data</entry>
</row> </row>
<row> <row>
<entry>2001</entry> <entry><literal>02001</literal></entry>
<entry>NO ADDITIONAL DYNAMIC RESULT SETS RETURNED</entry> <entry>NO ADDITIONAL DYNAMIC RESULT SETS RETURNED</entry>
<entry>no_additional_dynamic_result_sets_returned</entry> <entry>no_additional_dynamic_result_sets_returned</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 03&mdash; SQL Statement Not Yet Complete</></entry> <entry spanname="span13"><emphasis role="bold">Class 03 &mdash; SQL Statement Not Yet Complete</></entry>
</row> </row>
<row> <row>
<entry>3000</entry> <entry><literal>03000</literal></entry>
<entry>SQL STATEMENT NOT YET COMPLETE</entry> <entry>SQL STATEMENT NOT YET COMPLETE</entry>
<entry>sql_statement_not_yet_complete</entry> <entry>sql_statement_not_yet_complete</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 08&mdash; Connection Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 08 &mdash; Connection Exception</></entry>
</row> </row>
<row> <row>
<entry>8000</entry> <entry><literal>08000</literal></entry>
<entry>CONNECTION EXCEPTION</entry> <entry>CONNECTION EXCEPTION</entry>
<entry>connection_exception</entry> <entry>connection_exception</entry>
</row> </row>
<row> <row>
<entry>8003</entry> <entry><literal>08003</literal></entry>
<entry>CONNECTION DOES NOT EXIST</entry> <entry>CONNECTION DOES NOT EXIST</entry>
<entry>connection_does_not_exist</entry> <entry>connection_does_not_exist</entry>
</row> </row>
<row> <row>
<entry>8006</entry> <entry><literal>08006</literal></entry>
<entry>CONNECTION FAILURE</entry> <entry>CONNECTION FAILURE</entry>
<entry>connection_failure</entry> <entry>connection_failure</entry>
</row> </row>
<row> <row>
<entry>8001</entry> <entry><literal>08001</literal></entry>
<entry>SQLCLIENT UNABLE TO ESTABLISH SQLCONNECTION</entry> <entry>SQLCLIENT UNABLE TO ESTABLISH SQLCONNECTION</entry>
<entry>sqlclient_unable_to_establish_sqlconnection</entry> <entry>sqlclient_unable_to_establish_sqlconnection</entry>
</row> </row>
<row> <row>
<entry>8004</entry> <entry><literal>08004</literal></entry>
<entry>SQLSERVER REJECTED ESTABLISHMENT OF SQLCONNECTION</entry> <entry>SQLSERVER REJECTED ESTABLISHMENT OF SQLCONNECTION</entry>
<entry>sqlserver_rejected_establishment_of_sqlconnection</entry> <entry>sqlserver_rejected_establishment_of_sqlconnection</entry>
</row> </row>
<row> <row>
<entry>8007</entry> <entry><literal>08007</literal></entry>
<entry>TRANSACTION RESOLUTION UNKNOWN</entry> <entry>TRANSACTION RESOLUTION UNKNOWN</entry>
<entry>transaction_resolution_unknown</entry> <entry>transaction_resolution_unknown</entry>
</row> </row>
<row> <row>
<entry>08P01</entry> <entry><literal>08P01</literal></entry>
<entry>PROTOCOL VIOLATION</entry> <entry>PROTOCOL VIOLATION</entry>
<entry>protocol_violation</entry> <entry>protocol_violation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 09&mdash; Triggered Action Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 09 &mdash; Triggered Action Exception</></entry>
</row> </row>
<row> <row>
<entry>9000</entry> <entry><literal>09000</literal></entry>
<entry>TRIGGERED ACTION EXCEPTION</entry> <entry>TRIGGERED ACTION EXCEPTION</entry>
<entry>triggered_action_exception</entry> <entry>triggered_action_exception</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 0A&mdash; Feature Not Supported</></entry> <entry spanname="span13"><emphasis role="bold">Class 0A &mdash; Feature Not Supported</></entry>
</row> </row>
<row> <row>
<entry>0A000</entry> <entry><literal>0A000</literal></entry>
<entry>FEATURE NOT SUPPORTED</entry> <entry>FEATURE NOT SUPPORTED</entry>
<entry>feature_not_supported</entry> <entry>feature_not_supported</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 0B&mdash; Invalid Transaction Initiation</></entry> <entry spanname="span13"><emphasis role="bold">Class 0B &mdash; Invalid Transaction Initiation</></entry>
</row> </row>
<row> <row>
<entry>0B000</entry> <entry><literal>0B000</literal></entry>
<entry>INVALID TRANSACTION INITIATION</entry> <entry>INVALID TRANSACTION INITIATION</entry>
<entry>invalid_transaction_initiation</entry> <entry>invalid_transaction_initiation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 0F&mdash; Locator Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 0F &mdash; Locator Exception</></entry>
</row> </row>
<row> <row>
<entry>0F000</entry> <entry><literal>0F000</literal></entry>
<entry>LOCATOR EXCEPTION</entry> <entry>LOCATOR EXCEPTION</entry>
<entry>locator_exception</entry> <entry>locator_exception</entry>
</row> </row>
<row> <row>
<entry>0F001</entry> <entry><literal>0F001</literal></entry>
<entry>INVALID LOCATOR SPECIFICATION</entry> <entry>INVALID LOCATOR SPECIFICATION</entry>
<entry>invalid_locator_specification</entry> <entry>invalid_locator_specification</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 0L&mdash; Invalid Grantor</></entry> <entry spanname="span13"><emphasis role="bold">Class 0L &mdash; Invalid Grantor</></entry>
</row> </row>
<row> <row>
<entry>0L000</entry> <entry><literal>0L000</literal></entry>
<entry>INVALID GRANTOR</entry> <entry>INVALID GRANTOR</entry>
<entry>invalid_grantor</entry> <entry>invalid_grantor</entry>
</row> </row>
<row> <row>
<entry>0LP01</entry> <entry><literal>0LP01</literal></entry>
<entry>INVALID GRANT OPERATION</entry> <entry>INVALID GRANT OPERATION</entry>
<entry>invalid_grant_operation</entry> <entry>invalid_grant_operation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 0P&mdash; Invalid Role Specification</></entry> <entry spanname="span13"><emphasis role="bold">Class 0P &mdash; Invalid Role Specification</></entry>
</row> </row>
<row> <row>
<entry>0P000</entry> <entry><literal>0P000</literal></entry>
<entry>INVALID ROLE SPECIFICATION</entry> <entry>INVALID ROLE SPECIFICATION</entry>
<entry>invalid_role_specification</entry> <entry>invalid_role_specification</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 21&mdash; Cardinality Violation</></entry> <entry spanname="span13"><emphasis role="bold">Class 21 &mdash; Cardinality Violation</></entry>
</row> </row>
<row> <row>
<entry>21000</entry> <entry><literal>21000</literal></entry>
<entry>CARDINALITY VIOLATION</entry> <entry>CARDINALITY VIOLATION</entry>
<entry>cardinality_violation</entry> <entry>cardinality_violation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 22&mdash; Data Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 22 &mdash; Data Exception</></entry>
</row> </row>
<row> <row>
<entry>22000</entry> <entry><literal>22000</literal></entry>
<entry>DATA EXCEPTION</entry> <entry>DATA EXCEPTION</entry>
<entry>data_exception</entry> <entry>data_exception</entry>
</row> </row>
<row> <row>
<entry>2202E</entry> <entry><literal>2202E</literal></entry>
<entry>ARRAY SUBSCRIPT ERROR</entry> <entry>ARRAY SUBSCRIPT ERROR</entry>
<entry>array_subscript_error</entry> <entry>array_subscript_error</entry>
</row> </row>
<row> <row>
<entry>22021</entry> <entry><literal>22021</literal></entry>
<entry>CHARACTER NOT IN REPERTOIRE</entry> <entry>CHARACTER NOT IN REPERTOIRE</entry>
<entry>character_not_in_repertoire</entry> <entry>character_not_in_repertoire</entry>
</row> </row>
<row> <row>
<entry>22008</entry> <entry><literal>22008</literal></entry>
<entry>DATETIME FIELD OVERFLOW</entry> <entry>DATETIME FIELD OVERFLOW</entry>
<entry>datetime_field_overflow</entry> <entry>datetime_field_overflow</entry>
</row> </row>
<row> <row>
<entry>22012</entry> <entry><literal>22012</literal></entry>
<entry>DIVISION BY ZERO</entry> <entry>DIVISION BY ZERO</entry>
<entry>division_by_zero</entry> <entry>division_by_zero</entry>
</row> </row>
<row> <row>
<entry>22005</entry> <entry><literal>22005</literal></entry>
<entry>ERROR IN ASSIGNMENT</entry> <entry>ERROR IN ASSIGNMENT</entry>
<entry>error_in_assignment</entry> <entry>error_in_assignment</entry>
</row> </row>
<row> <row>
<entry>2200B</entry> <entry><literal>2200B</literal></entry>
<entry>ESCAPE CHARACTER CONFLICT</entry> <entry>ESCAPE CHARACTER CONFLICT</entry>
<entry>escape_character_conflict</entry> <entry>escape_character_conflict</entry>
</row> </row>
<row> <row>
<entry>22022</entry> <entry><literal>22022</literal></entry>
<entry>INDICATOR OVERFLOW</entry> <entry>INDICATOR OVERFLOW</entry>
<entry>indicator_overflow</entry> <entry>indicator_overflow</entry>
</row> </row>
<row> <row>
<entry>22015</entry> <entry><literal>22015</literal></entry>
<entry>INTERVAL FIELD OVERFLOW</entry> <entry>INTERVAL FIELD OVERFLOW</entry>
<entry>interval_field_overflow</entry> <entry>interval_field_overflow</entry>
</row> </row>
<row> <row>
<entry>2201E</entry> <entry><literal>2201E</literal></entry>
<entry>INVALID ARGUMENT FOR LOGARITHM</entry> <entry>INVALID ARGUMENT FOR LOGARITHM</entry>
<entry>invalid_argument_for_logarithm</entry> <entry>invalid_argument_for_logarithm</entry>
</row> </row>
<row> <row>
<entry>2201F</entry> <entry><literal>2201F</literal></entry>
<entry>INVALID ARGUMENT FOR POWER FUNCTION</entry> <entry>INVALID ARGUMENT FOR POWER FUNCTION</entry>
<entry>invalid_argument_for_power_function</entry> <entry>invalid_argument_for_power_function</entry>
</row> </row>
<row> <row>
<entry>2201G</entry> <entry><literal>2201G</literal></entry>
<entry>INVALID ARGUMENT FOR WIDTH BUCKET FUNCTION</entry> <entry>INVALID ARGUMENT FOR WIDTH BUCKET FUNCTION</entry>
<entry>invalid_argument_for_width_bucket_function</entry> <entry>invalid_argument_for_width_bucket_function</entry>
</row> </row>
<row> <row>
<entry>22018</entry> <entry><literal>22018</literal></entry>
<entry>INVALID CHARACTER VALUE FOR CAST</entry> <entry>INVALID CHARACTER VALUE FOR CAST</entry>
<entry>invalid_character_value_for_cast</entry> <entry>invalid_character_value_for_cast</entry>
</row> </row>
<row> <row>
<entry>22007</entry> <entry><literal>22007</literal></entry>
<entry>INVALID DATETIME FORMAT</entry> <entry>INVALID DATETIME FORMAT</entry>
<entry>invalid_datetime_format</entry> <entry>invalid_datetime_format</entry>
</row> </row>
<row> <row>
<entry>22019</entry> <entry><literal>22019</literal></entry>
<entry>INVALID ESCAPE CHARACTER</entry> <entry>INVALID ESCAPE CHARACTER</entry>
<entry>invalid_escape_character</entry> <entry>invalid_escape_character</entry>
</row> </row>
<row> <row>
<entry>2200D</entry> <entry><literal>2200D</literal></entry>
<entry>INVALID ESCAPE OCTET</entry> <entry>INVALID ESCAPE OCTET</entry>
<entry>invalid_escape_octet</entry> <entry>invalid_escape_octet</entry>
</row> </row>
<row> <row>
<entry>22025</entry> <entry><literal>22025</literal></entry>
<entry>INVALID ESCAPE SEQUENCE</entry> <entry>INVALID ESCAPE SEQUENCE</entry>
<entry>invalid_escape_sequence</entry> <entry>invalid_escape_sequence</entry>
</row> </row>
<row> <row>
<entry>22P06</entry> <entry><literal>22P06</literal></entry>
<entry>NONSTANDARD USE OF ESCAPE CHARACTER</entry> <entry>NONSTANDARD USE OF ESCAPE CHARACTER</entry>
<entry>nonstandard_use_of_escape_character</entry> <entry>nonstandard_use_of_escape_character</entry>
</row> </row>
<row> <row>
<entry>22010</entry> <entry><literal>22010</literal></entry>
<entry>INVALID INDICATOR PARAMETER VALUE</entry> <entry>INVALID INDICATOR PARAMETER VALUE</entry>
<entry>invalid_indicator_parameter_value</entry> <entry>invalid_indicator_parameter_value</entry>
</row> </row>
<row> <row>
<entry>22020</entry> <entry><literal>22020</literal></entry>
<entry>INVALID LIMIT VALUE</entry> <entry>INVALID LIMIT VALUE</entry>
<entry>invalid_limit_value</entry> <entry>invalid_limit_value</entry>
</row> </row>
<row> <row>
<entry>22023</entry> <entry><literal>22023</literal></entry>
<entry>INVALID PARAMETER VALUE</entry> <entry>INVALID PARAMETER VALUE</entry>
<entry>invalid_parameter_value</entry> <entry>invalid_parameter_value</entry>
</row> </row>
<row> <row>
<entry>2201B</entry> <entry><literal>2201B</literal></entry>
<entry>INVALID REGULAR EXPRESSION</entry> <entry>INVALID REGULAR EXPRESSION</entry>
<entry>invalid_regular_expression</entry> <entry>invalid_regular_expression</entry>
</row> </row>
<row> <row>
<entry>22009</entry> <entry><literal>22009</literal></entry>
<entry>INVALID TIME ZONE DISPLACEMENT VALUE</entry> <entry>INVALID TIME ZONE DISPLACEMENT VALUE</entry>
<entry>invalid_time_zone_displacement_value</entry> <entry>invalid_time_zone_displacement_value</entry>
</row> </row>
<row> <row>
<entry>2200C</entry> <entry><literal>2200C</literal></entry>
<entry>INVALID USE OF ESCAPE CHARACTER</entry> <entry>INVALID USE OF ESCAPE CHARACTER</entry>
<entry>invalid_use_of_escape_character</entry> <entry>invalid_use_of_escape_character</entry>
</row> </row>
<row> <row>
<entry>2200G</entry> <entry><literal>2200G</literal></entry>
<entry>MOST SPECIFIC TYPE MISMATCH</entry> <entry>MOST SPECIFIC TYPE MISMATCH</entry>
<entry>most_specific_type_mismatch</entry> <entry>most_specific_type_mismatch</entry>
</row> </row>
<row> <row>
<entry>22004</entry> <entry><literal>22004</literal></entry>
<entry>NULL VALUE NOT ALLOWED</entry> <entry>NULL VALUE NOT ALLOWED</entry>
<entry>null_value_not_allowed</entry> <entry>null_value_not_allowed</entry>
</row> </row>
<row> <row>
<entry>22002</entry> <entry><literal>22002</literal></entry>
<entry>NULL VALUE NO INDICATOR PARAMETER</entry> <entry>NULL VALUE NO INDICATOR PARAMETER</entry>
<entry>null_value_no_indicator_parameter</entry> <entry>null_value_no_indicator_parameter</entry>
</row> </row>
<row> <row>
<entry>22003</entry> <entry><literal>22003</literal></entry>
<entry>NUMERIC VALUE OUT OF RANGE</entry> <entry>NUMERIC VALUE OUT OF RANGE</entry>
<entry>numeric_value_out_of_range</entry> <entry>numeric_value_out_of_range</entry>
</row> </row>
<row> <row>
<entry>22026</entry> <entry><literal>22026</literal></entry>
<entry>STRING DATA LENGTH MISMATCH</entry> <entry>STRING DATA LENGTH MISMATCH</entry>
<entry>string_data_length_mismatch</entry> <entry>string_data_length_mismatch</entry>
</row> </row>
<row> <row>
<entry>22001</entry> <entry><literal>22001</literal></entry>
<entry>STRING DATA RIGHT TRUNCATION</entry> <entry>STRING DATA RIGHT TRUNCATION</entry>
<entry>string_data_right_truncation</entry> <entry>string_data_right_truncation</entry>
</row> </row>
<row> <row>
<entry>22011</entry> <entry><literal>22011</literal></entry>
<entry>SUBSTRING ERROR</entry> <entry>SUBSTRING ERROR</entry>
<entry>substring_error</entry> <entry>substring_error</entry>
</row> </row>
<row> <row>
<entry>22027</entry> <entry><literal>22027</literal></entry>
<entry>TRIM ERROR</entry> <entry>TRIM ERROR</entry>
<entry>trim_error</entry> <entry>trim_error</entry>
</row> </row>
<row> <row>
<entry>22024</entry> <entry><literal>22024</literal></entry>
<entry>UNTERMINATED C STRING</entry> <entry>UNTERMINATED C STRING</entry>
<entry>unterminated_c_string</entry> <entry>unterminated_c_string</entry>
</row> </row>
<row> <row>
<entry>2200F</entry> <entry><literal>2200F</literal></entry>
<entry>ZERO LENGTH CHARACTER STRING</entry> <entry>ZERO LENGTH CHARACTER STRING</entry>
<entry>zero_length_character_string</entry> <entry>zero_length_character_string</entry>
</row> </row>
<row> <row>
<entry>22P01</entry> <entry><literal>22P01</literal></entry>
<entry>FLOATING POINT EXCEPTION</entry> <entry>FLOATING POINT EXCEPTION</entry>
<entry>floating_point_exception</entry> <entry>floating_point_exception</entry>
</row> </row>
<row> <row>
<entry>22P02</entry> <entry><literal>22P02</literal></entry>
<entry>INVALID TEXT REPRESENTATION</entry> <entry>INVALID TEXT REPRESENTATION</entry>
<entry>invalid_text_representation</entry> <entry>invalid_text_representation</entry>
</row> </row>
<row> <row>
<entry>22P03</entry> <entry><literal>22P03</literal></entry>
<entry>INVALID BINARY REPRESENTATION</entry> <entry>INVALID BINARY REPRESENTATION</entry>
<entry>invalid_binary_representation</entry> <entry>invalid_binary_representation</entry>
</row> </row>
<row> <row>
<entry>22P04</entry> <entry><literal>22P04</literal></entry>
<entry>BAD COPY FILE FORMAT</entry> <entry>BAD COPY FILE FORMAT</entry>
<entry>bad_copy_file_format</entry> <entry>bad_copy_file_format</entry>
</row> </row>
<row> <row>
<entry>22P05</entry> <entry><literal>22P05</literal></entry>
<entry>UNTRANSLATABLE CHARACTER</entry> <entry>UNTRANSLATABLE CHARACTER</entry>
<entry>untranslatable_character</entry> <entry>untranslatable_character</entry>
</row> </row>
<row>
<entry spanname="span13"><emphasis role="bold">Class 23&mdash; Integrity Constraint Violation</></entry>
<row>
<entry spanname="span13"><emphasis role="bold">Class 23 &mdash; Integrity Constraint Violation</></entry>
</row> </row>
<row> <row>
<entry>23000</entry> <entry><literal>23000</literal></entry>
<entry>INTEGRITY CONSTRAINT VIOLATION</entry> <entry>INTEGRITY CONSTRAINT VIOLATION</entry>
<entry>integrity_constraint_violation</entry> <entry>integrity_constraint_violation</entry>
</row> </row>
<row> <row>
<entry>23001</entry> <entry><literal>23001</literal></entry>
<entry>RESTRICT VIOLATION</entry> <entry>RESTRICT VIOLATION</entry>
<entry>restrict_violation</entry> <entry>restrict_violation</entry>
</row> </row>
<row> <row>
<entry>23502</entry> <entry><literal>23502</literal></entry>
<entry>NOT NULL VIOLATION</entry> <entry>NOT NULL VIOLATION</entry>
<entry>not_null_violation</entry> <entry>not_null_violation</entry>
</row> </row>
<row> <row>
<entry>23503</entry> <entry><literal>23503</literal></entry>
<entry>FOREIGN KEY VIOLATION</entry> <entry>FOREIGN KEY VIOLATION</entry>
<entry>foreign_key_violation</entry> <entry>foreign_key_violation</entry>
</row> </row>
<row> <row>
<entry>23505</entry> <entry><literal>23505</literal></entry>
<entry>UNIQUE VIOLATION</entry> <entry>UNIQUE VIOLATION</entry>
<entry>unique_violation</entry> <entry>unique_violation</entry>
</row> </row>
<row> <row>
<entry>23514</entry> <entry><literal>23514</literal></entry>
<entry>CHECK VIOLATION</entry> <entry>CHECK VIOLATION</entry>
<entry>check_violation</entry> <entry>check_violation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 24&mdash; Invalid Cursor State</></entry> <entry spanname="span13"><emphasis role="bold">Class 24 &mdash; Invalid Cursor State</></entry>
</row> </row>
<row> <row>
<entry>24000</entry> <entry><literal>24000</literal></entry>
<entry>INVALID CURSOR STATE</entry> <entry>INVALID CURSOR STATE</entry>
<entry>invalid_cursor_state</entry> <entry>invalid_cursor_state</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 25&mdash; Invalid Transaction State</></entry> <entry spanname="span13"><emphasis role="bold">Class 25 &mdash; Invalid Transaction State</></entry>
</row> </row>
<row> <row>
<entry>25000</entry> <entry><literal>25000</literal></entry>
<entry>INVALID TRANSACTION STATE</entry> <entry>INVALID TRANSACTION STATE</entry>
<entry>invalid_transaction_state</entry> <entry>invalid_transaction_state</entry>
</row> </row>
<row> <row>
<entry>25001</entry> <entry><literal>25001</literal></entry>
<entry>ACTIVE SQL TRANSACTION</entry> <entry>ACTIVE SQL TRANSACTION</entry>
<entry>active_sql_transaction</entry> <entry>active_sql_transaction</entry>
</row> </row>
<row> <row>
<entry>25002</entry> <entry><literal>25002</literal></entry>
<entry>BRANCH TRANSACTION ALREADY ACTIVE</entry> <entry>BRANCH TRANSACTION ALREADY ACTIVE</entry>
<entry>branch_transaction_already_active</entry> <entry>branch_transaction_already_active</entry>
</row> </row>
<row> <row>
<entry>25008</entry> <entry><literal>25008</literal></entry>
<entry>HELD CURSOR REQUIRES SAME ISOLATION LEVEL</entry> <entry>HELD CURSOR REQUIRES SAME ISOLATION LEVEL</entry>
<entry>held_cursor_requires_same_isolation_level</entry> <entry>held_cursor_requires_same_isolation_level</entry>
</row> </row>
<row> <row>
<entry>25003</entry> <entry><literal>25003</literal></entry>
<entry>INAPPROPRIATE ACCESS MODE FOR BRANCH TRANSACTION</entry> <entry>INAPPROPRIATE ACCESS MODE FOR BRANCH TRANSACTION</entry>
<entry>inappropriate_access_mode_for_branch_transaction</entry> <entry>inappropriate_access_mode_for_branch_transaction</entry>
</row> </row>
<row> <row>
<entry>25004</entry> <entry><literal>25004</literal></entry>
<entry>INAPPROPRIATE ISOLATION LEVEL FOR BRANCH TRANSACTION</entry> <entry>INAPPROPRIATE ISOLATION LEVEL FOR BRANCH TRANSACTION</entry>
<entry>inappropriate_isolation_level_for_branch_transaction</entry> <entry>inappropriate_isolation_level_for_branch_transaction</entry>
</row> </row>
<row> <row>
<entry>25005</entry> <entry><literal>25005</literal></entry>
<entry>NO ACTIVE SQL TRANSACTION FOR BRANCH TRANSACTION</entry> <entry>NO ACTIVE SQL TRANSACTION FOR BRANCH TRANSACTION</entry>
<entry>no_active_sql_transaction_for_branch_transaction</entry> <entry>no_active_sql_transaction_for_branch_transaction</entry>
</row> </row>
<row> <row>
<entry>25006</entry> <entry><literal>25006</literal></entry>
<entry>READ ONLY SQL TRANSACTION</entry> <entry>READ ONLY SQL TRANSACTION</entry>
<entry>read_only_sql_transaction</entry> <entry>read_only_sql_transaction</entry>
</row> </row>
<row> <row>
<entry>25007</entry> <entry><literal>25007</literal></entry>
<entry>SCHEMA AND DATA STATEMENT MIXING NOT SUPPORTED</entry> <entry>SCHEMA AND DATA STATEMENT MIXING NOT SUPPORTED</entry>
<entry>schema_and_data_statement_mixing_not_supported</entry> <entry>schema_and_data_statement_mixing_not_supported</entry>
</row> </row>
<row> <row>
<entry>25P01</entry> <entry><literal>25P01</literal></entry>
<entry>NO ACTIVE SQL TRANSACTION</entry> <entry>NO ACTIVE SQL TRANSACTION</entry>
<entry>no_active_sql_transaction</entry> <entry>no_active_sql_transaction</entry>
</row> </row>
<row> <row>
<entry>25P02</entry> <entry><literal>25P02</literal></entry>
<entry>IN FAILED SQL TRANSACTION</entry> <entry>IN FAILED SQL TRANSACTION</entry>
<entry>in_failed_sql_transaction</entry> <entry>in_failed_sql_transaction</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 26&mdash; Invalid SQL Statement Name</></entry> <entry spanname="span13"><emphasis role="bold">Class 26 &mdash; Invalid SQL Statement Name</></entry>
</row> </row>
<row> <row>
<entry>26000</entry> <entry><literal>26000</literal></entry>
<entry>INVALID SQL STATEMENT NAME</entry> <entry>INVALID SQL STATEMENT NAME</entry>
<entry>invalid_sql_statement_name</entry> <entry>invalid_sql_statement_name</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 27&mdash; Triggered Data Change Violation</></entry> <entry spanname="span13"><emphasis role="bold">Class 27 &mdash; Triggered Data Change Violation</></entry>
</row> </row>
<row> <row>
<entry>27000</entry> <entry><literal>27000</literal></entry>
<entry>TRIGGERED DATA CHANGE VIOLATION</entry> <entry>TRIGGERED DATA CHANGE VIOLATION</entry>
<entry>triggered_data_change_violation</entry> <entry>triggered_data_change_violation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 28&mdash; Invalid Authorization Specification</></entry> <entry spanname="span13"><emphasis role="bold">Class 28 &mdash; Invalid Authorization Specification</></entry>
</row> </row>
<row> <row>
<entry>28000</entry> <entry><literal>28000</literal></entry>
<entry>INVALID AUTHORIZATION SPECIFICATION</entry> <entry>INVALID AUTHORIZATION SPECIFICATION</entry>
<entry>invalid_authorization_specification</entry> <entry>invalid_authorization_specification</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 2B&mdash; Dependent Privilege Descriptors Still Exist</></entry> <entry spanname="span13"><emphasis role="bold">Class 2B &mdash; Dependent Privilege Descriptors Still Exist</></entry>
</row> </row>
<row> <row>
<entry>2B000</entry> <entry><literal>2B000</literal></entry>
<entry>DEPENDENT PRIVILEGE DESCRIPTORS STILL EXIST</entry> <entry>DEPENDENT PRIVILEGE DESCRIPTORS STILL EXIST</entry>
<entry>dependent_privilege_descriptors_still_exist</entry> <entry>dependent_privilege_descriptors_still_exist</entry>
</row> </row>
<row> <row>
<entry>2BP01</entry> <entry><literal>2BP01</literal></entry>
<entry>DEPENDENT OBJECTS STILL EXIST</entry> <entry>DEPENDENT OBJECTS STILL EXIST</entry>
<entry>dependent_objects_still_exist</entry> <entry>dependent_objects_still_exist</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 2D&mdash; Invalid Transaction Termination</></entry> <entry spanname="span13"><emphasis role="bold">Class 2D &mdash; Invalid Transaction Termination</></entry>
</row> </row>
<row> <row>
<entry>2D000</entry> <entry><literal>2D000</literal></entry>
<entry>INVALID TRANSACTION TERMINATION</entry> <entry>INVALID TRANSACTION TERMINATION</entry>
<entry>invalid_transaction_termination</entry> <entry>invalid_transaction_termination</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 2F&mdash; SQL Routine Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 2F &mdash; SQL Routine Exception</></entry>
</row> </row>
<row> <row>
<entry>2F000</entry> <entry><literal>2F000</literal></entry>
<entry>SQL ROUTINE EXCEPTION</entry> <entry>SQL ROUTINE EXCEPTION</entry>
<entry>sql_routine_exception</entry> <entry>sql_routine_exception</entry>
</row> </row>
<row> <row>
<entry>2F005</entry> <entry><literal>2F005</literal></entry>
<entry>FUNCTION EXECUTED NO RETURN STATEMENT</entry> <entry>FUNCTION EXECUTED NO RETURN STATEMENT</entry>
<entry>function_executed_no_return_statement</entry> <entry>function_executed_no_return_statement</entry>
</row> </row>
<row> <row>
<entry>2F002</entry> <entry><literal>2F002</literal></entry>
<entry>MODIFYING SQL DATA NOT PERMITTED</entry> <entry>MODIFYING SQL DATA NOT PERMITTED</entry>
<entry>modifying_sql_data_not_permitted</entry> <entry>modifying_sql_data_not_permitted</entry>
</row> </row>
<row> <row>
<entry>2F003</entry> <entry><literal>2F003</literal></entry>
<entry>PROHIBITED SQL STATEMENT ATTEMPTED</entry> <entry>PROHIBITED SQL STATEMENT ATTEMPTED</entry>
<entry>prohibited_sql_statement_attempted</entry> <entry>prohibited_sql_statement_attempted</entry>
</row> </row>
<row> <row>
<entry>2F004</entry> <entry><literal>2F004</literal></entry>
<entry>READING SQL DATA NOT PERMITTED</entry> <entry>READING SQL DATA NOT PERMITTED</entry>
<entry>reading_sql_data_not_permitted</entry> <entry>reading_sql_data_not_permitted</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 34&mdash; Invalid Cursor Name</></entry> <entry spanname="span13"><emphasis role="bold">Class 34 &mdash; Invalid Cursor Name</></entry>
</row> </row>
<row> <row>
<entry>34000</entry> <entry><literal>34000</literal></entry>
<entry>INVALID CURSOR NAME</entry> <entry>INVALID CURSOR NAME</entry>
<entry>invalid_cursor_name</entry> <entry>invalid_cursor_name</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 38&mdash; External Routine Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 38 &mdash; External Routine Exception</></entry>
</row> </row>
<row> <row>
<entry>38000</entry> <entry><literal>38000</literal></entry>
<entry>EXTERNAL ROUTINE EXCEPTION</entry> <entry>EXTERNAL ROUTINE EXCEPTION</entry>
<entry>external_routine_exception</entry> <entry>external_routine_exception</entry>
</row> </row>
<row> <row>
<entry>38001</entry> <entry><literal>38001</literal></entry>
<entry>CONTAINING SQL NOT PERMITTED</entry> <entry>CONTAINING SQL NOT PERMITTED</entry>
<entry>containing_sql_not_permitted</entry> <entry>containing_sql_not_permitted</entry>
</row> </row>
<row> <row>
<entry>38002</entry> <entry><literal>38002</literal></entry>
<entry>MODIFYING SQL DATA NOT PERMITTED</entry> <entry>MODIFYING SQL DATA NOT PERMITTED</entry>
<entry>modifying_sql_data_not_permitted</entry> <entry>modifying_sql_data_not_permitted</entry>
</row> </row>
<row> <row>
<entry>38003</entry> <entry><literal>38003</literal></entry>
<entry>PROHIBITED SQL STATEMENT ATTEMPTED</entry> <entry>PROHIBITED SQL STATEMENT ATTEMPTED</entry>
<entry>prohibited_sql_statement_attempted</entry> <entry>prohibited_sql_statement_attempted</entry>
</row> </row>
<row> <row>
<entry>38004</entry> <entry><literal>38004</literal></entry>
<entry>READING SQL DATA NOT PERMITTED</entry> <entry>READING SQL DATA NOT PERMITTED</entry>
<entry>reading_sql_data_not_permitted</entry> <entry>reading_sql_data_not_permitted</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 39&mdash; External Routine Invocation Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 39 &mdash; External Routine Invocation Exception</></entry>
</row> </row>
<row> <row>
<entry>39000</entry> <entry><literal>39000</literal></entry>
<entry>EXTERNAL ROUTINE INVOCATION EXCEPTION</entry> <entry>EXTERNAL ROUTINE INVOCATION EXCEPTION</entry>
<entry>external_routine_invocation_exception</entry> <entry>external_routine_invocation_exception</entry>
</row> </row>
<row> <row>
<entry>39001</entry> <entry><literal>39001</literal></entry>
<entry>INVALID SQLSTATE RETURNED</entry> <entry>INVALID SQLSTATE RETURNED</entry>
<entry>invalid_sqlstate_returned</entry> <entry>invalid_sqlstate_returned</entry>
</row> </row>
<row> <row>
<entry>39004</entry> <entry><literal>39004</literal></entry>
<entry>NULL VALUE NOT ALLOWED</entry> <entry>NULL VALUE NOT ALLOWED</entry>
<entry>null_value_not_allowed</entry> <entry>null_value_not_allowed</entry>
</row> </row>
<row> <row>
<entry>39P01</entry> <entry><literal>39P01</literal></entry>
<entry>TRIGGER PROTOCOL VIOLATED</entry> <entry>TRIGGER PROTOCOL VIOLATED</entry>
<entry>trigger_protocol_violated</entry> <entry>trigger_protocol_violated</entry>
</row> </row>
<row> <row>
<entry>39P02</entry> <entry><literal>39P02</literal></entry>
<entry>SRF PROTOCOL VIOLATED</entry> <entry>SRF PROTOCOL VIOLATED</entry>
<entry>srf_protocol_violated</entry> <entry>srf_protocol_violated</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 3B&mdash; Savepoint Exception</></entry> <entry spanname="span13"><emphasis role="bold">Class 3B &mdash; Savepoint Exception</></entry>
</row> </row>
<row> <row>
<entry>3B000</entry> <entry><literal>3B000</literal></entry>
<entry>SAVEPOINT EXCEPTION</entry> <entry>SAVEPOINT EXCEPTION</entry>
<entry>savepoint_exception</entry> <entry>savepoint_exception</entry>
</row> </row>
<row> <row>
<entry>3B001</entry> <entry><literal>3B001</literal></entry>
<entry>INVALID SAVEPOINT SPECIFICATION</entry> <entry>INVALID SAVEPOINT SPECIFICATION</entry>
<entry>invalid_savepoint_specification</entry> <entry>invalid_savepoint_specification</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 3D&mdash; Invalid Catalog Name</></entry> <entry spanname="span13"><emphasis role="bold">Class 3D &mdash; Invalid Catalog Name</></entry>
</row> </row>
<row> <row>
<entry>3D000</entry> <entry><literal>3D000</literal></entry>
<entry>INVALID CATALOG NAME</entry> <entry>INVALID CATALOG NAME</entry>
<entry>invalid_catalog_name</entry> <entry>invalid_catalog_name</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 3F&mdash; Invalid Schema Name</></entry> <entry spanname="span13"><emphasis role="bold">Class 3F &mdash; Invalid Schema Name</></entry>
</row> </row>
<row> <row>
<entry>3F000</entry> <entry><literal>3F000</literal></entry>
<entry>INVALID SCHEMA NAME</entry> <entry>INVALID SCHEMA NAME</entry>
<entry>invalid_schema_name</entry> <entry>invalid_schema_name</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 40&mdash; Transaction Rollback</></entry> <entry spanname="span13"><emphasis role="bold">Class 40 &mdash; Transaction Rollback</></entry>
</row> </row>
<row> <row>
<entry>40000</entry> <entry><literal>40000</literal></entry>
<entry>TRANSACTION ROLLBACK</entry> <entry>TRANSACTION ROLLBACK</entry>
<entry>transaction_rollback</entry> <entry>transaction_rollback</entry>
</row> </row>
<row> <row>
<entry>40002</entry> <entry><literal>40002</literal></entry>
<entry>TRANSACTION INTEGRITY CONSTRAINT VIOLATION</entry> <entry>TRANSACTION INTEGRITY CONSTRAINT VIOLATION</entry>
<entry>transaction_integrity_constraint_violation</entry> <entry>transaction_integrity_constraint_violation</entry>
</row> </row>
<row> <row>
<entry>40001</entry> <entry><literal>40001</literal></entry>
<entry>SERIALIZATION FAILURE</entry> <entry>SERIALIZATION FAILURE</entry>
<entry>serialization_failure</entry> <entry>serialization_failure</entry>
</row> </row>
<row> <row>
<entry>40003</entry> <entry><literal>40003</literal></entry>
<entry>STATEMENT COMPLETION UNKNOWN</entry> <entry>STATEMENT COMPLETION UNKNOWN</entry>
<entry>statement_completion_unknown</entry> <entry>statement_completion_unknown</entry>
</row> </row>
<row> <row>
<entry>40P01</entry> <entry><literal>40P01</literal></entry>
<entry>DEADLOCK DETECTED</entry> <entry>DEADLOCK DETECTED</entry>
<entry>deadlock_detected</entry> <entry>deadlock_detected</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 42&mdash; Syntax Error or Access Rule Violation</></entry> <entry spanname="span13"><emphasis role="bold">Class 42 &mdash; Syntax Error or Access Rule Violation</></entry>
</row> </row>
<row> <row>
<entry>42000</entry> <entry><literal>42000</literal></entry>
<entry>SYNTAX ERROR OR ACCESS RULE VIOLATION</entry> <entry>SYNTAX ERROR OR ACCESS RULE VIOLATION</entry>
<entry>syntax_error_or_access_rule_violation</entry> <entry>syntax_error_or_access_rule_violation</entry>
</row> </row>
<row> <row>
<entry>42601</entry> <entry><literal>42601</literal></entry>
<entry>SYNTAX ERROR</entry> <entry>SYNTAX ERROR</entry>
<entry>syntax_error</entry> <entry>syntax_error</entry>
</row> </row>
<row> <row>
<entry>42501</entry> <entry><literal>42501</literal></entry>
<entry>INSUFFICIENT PRIVILEGE</entry> <entry>INSUFFICIENT PRIVILEGE</entry>
<entry>insufficient_privilege</entry> <entry>insufficient_privilege</entry>
</row> </row>
<row> <row>
<entry>42846</entry> <entry><literal>42846</literal></entry>
<entry>CANNOT COERCE</entry> <entry>CANNOT COERCE</entry>
<entry>cannot_coerce</entry> <entry>cannot_coerce</entry>
</row> </row>
<row> <row>
<entry>42803</entry> <entry><literal>42803</literal></entry>
<entry>GROUPING ERROR</entry> <entry>GROUPING ERROR</entry>
<entry>grouping_error</entry> <entry>grouping_error</entry>
</row> </row>
<row> <row>
<entry>42830</entry> <entry><literal>42830</literal></entry>
<entry>INVALID FOREIGN KEY</entry> <entry>INVALID FOREIGN KEY</entry>
<entry>invalid_foreign_key</entry> <entry>invalid_foreign_key</entry>
</row> </row>
<row> <row>
<entry>42602</entry> <entry><literal>42602</literal></entry>
<entry>INVALID NAME</entry> <entry>INVALID NAME</entry>
<entry>invalid_name</entry> <entry>invalid_name</entry>
</row> </row>
<row> <row>
<entry>42622</entry> <entry><literal>42622</literal></entry>
<entry>NAME TOO LONG</entry> <entry>NAME TOO LONG</entry>
<entry>name_too_long</entry> <entry>name_too_long</entry>
</row> </row>
<row> <row>
<entry>42939</entry> <entry><literal>42939</literal></entry>
<entry>RESERVED NAME</entry> <entry>RESERVED NAME</entry>
<entry>reserved_name</entry> <entry>reserved_name</entry>
</row> </row>
<row> <row>
<entry>42804</entry> <entry><literal>42804</literal></entry>
<entry>DATATYPE MISMATCH</entry> <entry>DATATYPE MISMATCH</entry>
<entry>datatype_mismatch</entry> <entry>datatype_mismatch</entry>
</row> </row>
<row> <row>
<entry>42P18</entry> <entry><literal>42P18</literal></entry>
<entry>INDETERMINATE DATATYPE</entry> <entry>INDETERMINATE DATATYPE</entry>
<entry>indeterminate_datatype</entry> <entry>indeterminate_datatype</entry>
</row> </row>
<row> <row>
<entry>42809</entry> <entry><literal>42809</literal></entry>
<entry>WRONG OBJECT TYPE</entry> <entry>WRONG OBJECT TYPE</entry>
<entry>wrong_object_type</entry> <entry>wrong_object_type</entry>
</row> </row>
<row> <row>
<entry>42703</entry> <entry><literal>42703</literal></entry>
<entry>UNDEFINED COLUMN</entry> <entry>UNDEFINED COLUMN</entry>
<entry>undefined_column</entry> <entry>undefined_column</entry>
</row> </row>
<row> <row>
<entry>42883</entry> <entry><literal>42883</literal></entry>
<entry>UNDEFINED FUNCTION</entry> <entry>UNDEFINED FUNCTION</entry>
<entry>undefined_function</entry> <entry>undefined_function</entry>
</row> </row>
<row> <row>
<entry>42P01</entry> <entry><literal>42P01</literal></entry>
<entry>UNDEFINED TABLE</entry> <entry>UNDEFINED TABLE</entry>
<entry>undefined_table</entry> <entry>undefined_table</entry>
</row> </row>
<row> <row>
<entry>42P02</entry> <entry><literal>42P02</literal></entry>
<entry>UNDEFINED PARAMETER</entry> <entry>UNDEFINED PARAMETER</entry>
<entry>undefined_parameter</entry> <entry>undefined_parameter</entry>
</row> </row>
<row> <row>
<entry>42704</entry> <entry><literal>42704</literal></entry>
<entry>UNDEFINED OBJECT</entry> <entry>UNDEFINED OBJECT</entry>
<entry>undefined_object</entry> <entry>undefined_object</entry>
</row> </row>
<row> <row>
<entry>42701</entry> <entry><literal>42701</literal></entry>
<entry>DUPLICATE COLUMN</entry> <entry>DUPLICATE COLUMN</entry>
<entry>duplicate_column</entry> <entry>duplicate_column</entry>
</row> </row>
<row> <row>
<entry>42P03</entry> <entry><literal>42P03</literal></entry>
<entry>DUPLICATE CURSOR</entry> <entry>DUPLICATE CURSOR</entry>
<entry>duplicate_cursor</entry> <entry>duplicate_cursor</entry>
</row> </row>
<row> <row>
<entry>42P04</entry> <entry><literal>42P04</literal></entry>
<entry>DUPLICATE DATABASE</entry> <entry>DUPLICATE DATABASE</entry>
<entry>duplicate_database</entry> <entry>duplicate_database</entry>
</row> </row>
<row> <row>
<entry>42723</entry> <entry><literal>42723</literal></entry>
<entry>DUPLICATE FUNCTION</entry> <entry>DUPLICATE FUNCTION</entry>
<entry>duplicate_function</entry> <entry>duplicate_function</entry>
</row> </row>
<row> <row>
<entry>42P05</entry> <entry><literal>42P05</literal></entry>
<entry>DUPLICATE PREPARED STATEMENT</entry> <entry>DUPLICATE PREPARED STATEMENT</entry>
<entry>duplicate_prepared_statement</entry> <entry>duplicate_prepared_statement</entry>
</row> </row>
<row> <row>
<entry>42P06</entry> <entry><literal>42P06</literal></entry>
<entry>DUPLICATE SCHEMA</entry> <entry>DUPLICATE SCHEMA</entry>
<entry>duplicate_schema</entry> <entry>duplicate_schema</entry>
</row> </row>
<row> <row>
<entry>42P07</entry> <entry><literal>42P07</literal></entry>
<entry>DUPLICATE TABLE</entry> <entry>DUPLICATE TABLE</entry>
<entry>duplicate_table</entry> <entry>duplicate_table</entry>
</row> </row>
<row> <row>
<entry>42712</entry> <entry><literal>42712</literal></entry>
<entry>DUPLICATE ALIAS</entry> <entry>DUPLICATE ALIAS</entry>
<entry>duplicate_alias</entry> <entry>duplicate_alias</entry>
</row> </row>
<row> <row>
<entry>42710</entry> <entry><literal>42710</literal></entry>
<entry>DUPLICATE OBJECT</entry> <entry>DUPLICATE OBJECT</entry>
<entry>duplicate_object</entry> <entry>duplicate_object</entry>
</row> </row>
<row> <row>
<entry>42702</entry> <entry><literal>42702</literal></entry>
<entry>AMBIGUOUS COLUMN</entry> <entry>AMBIGUOUS COLUMN</entry>
<entry>ambiguous_column</entry> <entry>ambiguous_column</entry>
</row> </row>
<row> <row>
<entry>42725</entry> <entry><literal>42725</literal></entry>
<entry>AMBIGUOUS FUNCTION</entry> <entry>AMBIGUOUS FUNCTION</entry>
<entry>ambiguous_function</entry> <entry>ambiguous_function</entry>
</row> </row>
<row> <row>
<entry>42P08</entry> <entry><literal>42P08</literal></entry>
<entry>AMBIGUOUS PARAMETER</entry> <entry>AMBIGUOUS PARAMETER</entry>
<entry>ambiguous_parameter</entry> <entry>ambiguous_parameter</entry>
</row> </row>
<row> <row>
<entry>42P09</entry> <entry><literal>42P09</literal></entry>
<entry>AMBIGUOUS ALIAS</entry> <entry>AMBIGUOUS ALIAS</entry>
<entry>ambiguous_alias</entry> <entry>ambiguous_alias</entry>
</row> </row>
<row> <row>
<entry>42P10</entry> <entry><literal>42P10</literal></entry>
<entry>INVALID COLUMN REFERENCE</entry> <entry>INVALID COLUMN REFERENCE</entry>
<entry>invalid_column_reference</entry> <entry>invalid_column_reference</entry>
</row> </row>
<row> <row>
<entry>42611</entry> <entry><literal>42611</literal></entry>
<entry>INVALID COLUMN DEFINITION</entry> <entry>INVALID COLUMN DEFINITION</entry>
<entry>invalid_column_definition</entry> <entry>invalid_column_definition</entry>
</row> </row>
<row> <row>
<entry>42P11</entry> <entry><literal>42P11</literal></entry>
<entry>INVALID CURSOR DEFINITION</entry> <entry>INVALID CURSOR DEFINITION</entry>
<entry>invalid_cursor_definition</entry> <entry>invalid_cursor_definition</entry>
</row> </row>
<row> <row>
<entry>42P12</entry> <entry><literal>42P12</literal></entry>
<entry>INVALID DATABASE DEFINITION</entry> <entry>INVALID DATABASE DEFINITION</entry>
<entry>invalid_database_definition</entry> <entry>invalid_database_definition</entry>
</row> </row>
<row> <row>
<entry>42P13</entry> <entry><literal>42P13</literal></entry>
<entry>INVALID FUNCTION DEFINITION</entry> <entry>INVALID FUNCTION DEFINITION</entry>
<entry>invalid_function_definition</entry> <entry>invalid_function_definition</entry>
</row> </row>
<row> <row>
<entry>42P14</entry> <entry><literal>42P14</literal></entry>
<entry>INVALID PREPARED STATEMENT DEFINITION</entry> <entry>INVALID PREPARED STATEMENT DEFINITION</entry>
<entry>invalid_prepared_statement_definition</entry> <entry>invalid_prepared_statement_definition</entry>
</row> </row>
<row> <row>
<entry>42P15</entry> <entry><literal>42P15</literal></entry>
<entry>INVALID SCHEMA DEFINITION</entry> <entry>INVALID SCHEMA DEFINITION</entry>
<entry>invalid_schema_definition</entry> <entry>invalid_schema_definition</entry>
</row> </row>
<row> <row>
<entry>42P16</entry> <entry><literal>42P16</literal></entry>
<entry>INVALID TABLE DEFINITION</entry> <entry>INVALID TABLE DEFINITION</entry>
<entry>invalid_table_definition</entry> <entry>invalid_table_definition</entry>
</row> </row>
<row> <row>
<entry>42P17</entry> <entry><literal>42P17</literal></entry>
<entry>INVALID OBJECT DEFINITION</entry> <entry>INVALID OBJECT DEFINITION</entry>
<entry>invalid_object_definition</entry> <entry>invalid_object_definition</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 44&mdash; WITH CHECK OPTION Violation</></entry> <entry spanname="span13"><emphasis role="bold">Class 44 &mdash; WITH CHECK OPTION Violation</></entry>
</row> </row>
<row> <row>
<entry>44000</entry> <entry><literal>44000</literal></entry>
<entry>WITH CHECK OPTION VIOLATION</entry> <entry>WITH CHECK OPTION VIOLATION</entry>
<entry>with_check_option_violation</entry> <entry>with_check_option_violation</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 53&mdash; Insufficient Resources</></entry> <entry spanname="span13"><emphasis role="bold">Class 53 &mdash; Insufficient Resources</></entry>
</row> </row>
<row> <row>
<entry>53000</entry> <entry><literal>53000</literal></entry>
<entry>INSUFFICIENT RESOURCES</entry> <entry>INSUFFICIENT RESOURCES</entry>
<entry>insufficient_resources</entry> <entry>insufficient_resources</entry>
</row> </row>
<row> <row>
<entry>53100</entry> <entry><literal>53100</literal></entry>
<entry>DISK FULL</entry> <entry>DISK FULL</entry>
<entry>disk_full</entry> <entry>disk_full</entry>
</row> </row>
<row> <row>
<entry>53200</entry> <entry><literal>53200</literal></entry>
<entry>OUT OF MEMORY</entry> <entry>OUT OF MEMORY</entry>
<entry>out_of_memory</entry> <entry>out_of_memory</entry>
</row> </row>
<row> <row>
<entry>53300</entry> <entry><literal>53300</literal></entry>
<entry>TOO MANY CONNECTIONS</entry> <entry>TOO MANY CONNECTIONS</entry>
<entry>too_many_connections</entry> <entry>too_many_connections</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 54&mdash; Program Limit Exceeded</></entry> <entry spanname="span13"><emphasis role="bold">Class 54 &mdash; Program Limit Exceeded</></entry>
</row> </row>
<row> <row>
<entry>54000</entry> <entry><literal>54000</literal></entry>
<entry>PROGRAM LIMIT EXCEEDED</entry> <entry>PROGRAM LIMIT EXCEEDED</entry>
<entry>program_limit_exceeded</entry> <entry>program_limit_exceeded</entry>
</row> </row>
<row> <row>
<entry>54001</entry> <entry><literal>54001</literal></entry>
<entry>STATEMENT TOO COMPLEX</entry> <entry>STATEMENT TOO COMPLEX</entry>
<entry>statement_too_complex</entry> <entry>statement_too_complex</entry>
</row> </row>
<row> <row>
<entry>54011</entry> <entry><literal>54011</literal></entry>
<entry>TOO MANY COLUMNS</entry> <entry>TOO MANY COLUMNS</entry>
<entry>too_many_columns</entry> <entry>too_many_columns</entry>
</row> </row>
<row> <row>
<entry>54023</entry> <entry><literal>54023</literal></entry>
<entry>TOO MANY ARGUMENTS</entry> <entry>TOO MANY ARGUMENTS</entry>
<entry>too_many_arguments</entry> <entry>too_many_arguments</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 55&mdash; Object Not In Prerequisite State</></entry> <entry spanname="span13"><emphasis role="bold">Class 55 &mdash; Object Not In Prerequisite State</></entry>
</row> </row>
<row> <row>
<entry>55000</entry> <entry><literal>55000</literal></entry>
<entry>OBJECT NOT IN PREREQUISITE STATE</entry> <entry>OBJECT NOT IN PREREQUISITE STATE</entry>
<entry>object_not_in_prerequisite_state</entry> <entry>object_not_in_prerequisite_state</entry>
</row> </row>
<row> <row>
<entry>55006</entry> <entry><literal>55006</literal></entry>
<entry>OBJECT IN USE</entry> <entry>OBJECT IN USE</entry>
<entry>object_in_use</entry> <entry>object_in_use</entry>
</row> </row>
<row> <row>
<entry>55P02</entry> <entry><literal>55P02</literal></entry>
<entry>CANT CHANGE RUNTIME PARAM</entry> <entry>CANT CHANGE RUNTIME PARAM</entry>
<entry>cant_change_runtime_param</entry> <entry>cant_change_runtime_param</entry>
</row> </row>
<row> <row>
<entry>55P03</entry> <entry><literal>55P03</literal></entry>
<entry>LOCK NOT AVAILABLE</entry> <entry>LOCK NOT AVAILABLE</entry>
<entry>lock_not_available</entry> <entry>lock_not_available</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 57&mdash; Operator Intervention</></entry> <entry spanname="span13"><emphasis role="bold">Class 57 &mdash; Operator Intervention</></entry>
</row> </row>
<row> <row>
<entry>57000</entry> <entry><literal>57000</literal></entry>
<entry>OPERATOR INTERVENTION</entry> <entry>OPERATOR INTERVENTION</entry>
<entry>operator_intervention</entry> <entry>operator_intervention</entry>
</row> </row>
<row> <row>
<entry>57014</entry> <entry><literal>57014</literal></entry>
<entry>QUERY CANCELED</entry> <entry>QUERY CANCELED</entry>
<entry>query_canceled</entry> <entry>query_canceled</entry>
</row> </row>
<row> <row>
<entry>57P01</entry> <entry><literal>57P01</literal></entry>
<entry>ADMIN SHUTDOWN</entry> <entry>ADMIN SHUTDOWN</entry>
<entry>admin_shutdown</entry> <entry>admin_shutdown</entry>
</row> </row>
<row> <row>
<entry>57P02</entry> <entry><literal>57P02</literal></entry>
<entry>CRASH SHUTDOWN</entry> <entry>CRASH SHUTDOWN</entry>
<entry>crash_shutdown</entry> <entry>crash_shutdown</entry>
</row> </row>
<row> <row>
<entry>57P03</entry> <entry><literal>57P03</literal></entry>
<entry>CANNOT CONNECT NOW</entry> <entry>CANNOT CONNECT NOW</entry>
<entry>cannot_connect_now</entry> <entry>cannot_connect_now</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class 58&mdash; System Error (errors external to PostgreSQL itself)</></entry> <entry spanname="span13"><emphasis role="bold">Class 58 &mdash; System Error (errors external to <productname>PostgreSQL</> itself)</></entry>
</row> </row>
<row> <row>
<entry>58030</entry> <entry><literal>58030</literal></entry>
<entry>IO ERROR</entry> <entry>IO ERROR</entry>
<entry>io_error</entry> <entry>io_error</entry>
</row> </row>
<row> <row>
<entry>58P01</entry> <entry><literal>58P01</literal></entry>
<entry>UNDEFINED FILE</entry> <entry>UNDEFINED FILE</entry>
<entry>undefined_file</entry> <entry>undefined_file</entry>
</row> </row>
<row> <row>
<entry>58P02</entry> <entry><literal>58P02</literal></entry>
<entry>DUPLICATE FILE</entry> <entry>DUPLICATE FILE</entry>
<entry>duplicate_file</entry> <entry>duplicate_file</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class F0&mdash; Configuration File Error</></entry> <entry spanname="span13"><emphasis role="bold">Class F0 &mdash; Configuration File Error</></entry>
</row> </row>
<row> <row>
<entry>F0000</entry> <entry><literal>F0000</literal></entry>
<entry>CONFIG FILE ERROR</entry> <entry>CONFIG FILE ERROR</entry>
<entry>config_file_error</entry> <entry>config_file_error</entry>
</row> </row>
<row> <row>
<entry>F0001</entry> <entry><literal>F0001</literal></entry>
<entry>LOCK FILE EXISTS</entry> <entry>LOCK FILE EXISTS</entry>
<entry>lock_file_exists</entry> <entry>lock_file_exists</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class P0&mdash; PL/pgSQL Error</></entry> <entry spanname="span13"><emphasis role="bold">Class P0 &mdash; PL/pgSQL Error</></entry>
</row> </row>
<row> <row>
<entry>P0000</entry> <entry><literal>P0000</literal></entry>
<entry>PLPGSQL ERROR</entry> <entry>PLPGSQL ERROR</entry>
<entry>plpgsql_error</entry> <entry>plpgsql_error</entry>
</row> </row>
<row> <row>
<entry>P0001</entry> <entry><literal>P0001</literal></entry>
<entry>RAISE EXCEPTION</entry> <entry>RAISE EXCEPTION</entry>
<entry>raise_exception</entry> <entry>raise_exception</entry>
</row> </row>
<row> <row>
<entry spanname="span13"><emphasis role="bold">Class XX&mdash; Internal Error</></entry> <entry spanname="span13"><emphasis role="bold">Class XX &mdash; Internal Error</></entry>
</row> </row>
<row> <row>
<entry>XX000</entry> <entry><literal>XX000</literal></entry>
<entry>INTERNAL ERROR</entry> <entry>INTERNAL ERROR</entry>
<entry>internal_error</entry> <entry>internal_error</entry>
</row> </row>
<row> <row>
<entry>XX001</entry> <entry><literal>XX001</literal></entry>
<entry>DATA CORRUPTED</entry> <entry>DATA CORRUPTED</entry>
<entry>data_corrupted</entry> <entry>data_corrupted</entry>
</row> </row>
<row> <row>
<entry>XX002</entry> <entry><literal>XX002</literal></entry>
<entry>INDEX CORRUPTED</entry> <entry>INDEX CORRUPTED</entry>
<entry>index_corrupted</entry> <entry>index_corrupted</entry>
</row> </row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment