PostgreSQL error codes
Search by code or error message to find official explanations and troubleshooting or diagnostic links.
Search runs in your browser. The same number can have different meanings in different products.
PostgreSQL Code
261 results- 01000warningwarning
warning (Class 01 — Warning)
PostgreSQLPostgreSQL - 01003null_value_eliminated_in_set_functionnull value eliminated in set function
null_value_eliminated_in_set_function (Class 01 — Warning)
PostgreSQLPostgreSQL - 01004string_data_right_truncationstring data right truncation
string_data_right_truncation (Class 01 — Warning)
PostgreSQLPostgreSQL - 01006privilege_not_revokedprivilege not revoked
privilege_not_revoked (Class 01 — Warning)
PostgreSQLPostgreSQL - 01007privilege_not_grantedprivilege not granted
privilege_not_granted (Class 01 — Warning)
PostgreSQLPostgreSQL - 01008implicit_zero_bit_paddingimplicit zero bit padding
implicit_zero_bit_padding (Class 01 — Warning)
PostgreSQLPostgreSQL - 02000no_datano data
no_data (Class 02 — No Data (this is also a warning class per the SQL standard))
PostgreSQLPostgreSQL - 02001no_additional_dynamic_result_sets_returnedno additional dynamic result sets returned
no_additional_dynamic_result_sets_returned (Class 02 — No Data (this is also a warning class per the SQL standard))
PostgreSQLPostgreSQL - 03000sql_statement_not_yet_completesql statement not yet complete
sql_statement_not_yet_complete (Class 03 — SQL Statement Not Yet Complete)
PostgreSQLPostgreSQL - 08000connection_exceptionconnection exception
connection_exception (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 08001sqlclient_unable_to_establish_sqlconnectionsqlclient unable to establish sqlconnection
sqlclient_unable_to_establish_sqlconnection (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 08003connection_does_not_existconnection does not exist
connection_does_not_exist (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 08004sqlserver_rejected_establishment_of_sqlconnectionsqlserver rejected establishment of sqlconnection
sqlserver_rejected_establishment_of_sqlconnection (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 08006connection_failureconnection failure
connection_failure (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 08007transaction_resolution_unknowntransaction resolution unknown
transaction_resolution_unknown (Class 08 — Connection Exception)
PostgreSQLPostgreSQL - 09000triggered_action_exceptiontriggered action exception
triggered_action_exception (Class 09 — Triggered Action Exception)
PostgreSQLPostgreSQL - 10608invalid_argument_for_xqueryinvalid argument for xquery
invalid_argument_for_xquery (Class 10 — XQuery Error)
PostgreSQLPostgreSQL - 20000case_not_foundcase not found
case_not_found (Class 20 — Case Not Found)
PostgreSQLPostgreSQL - 21000cardinality_violationcardinality violation
cardinality_violation (Class 21 — Cardinality Violation)
PostgreSQLPostgreSQL - 22000data_exceptiondata exception
data_exception (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22001string_data_right_truncationstring data right truncation
string_data_right_truncation (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22002null_value_no_indicator_parameternull value no indicator parameter
null_value_no_indicator_parameter (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22003numeric_value_out_of_rangenumeric value out of range
numeric_value_out_of_range (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22004null_value_not_allowednull value not allowed
null_value_not_allowed (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22005error_in_assignmenterror in assignment
error_in_assignment (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22007invalid_datetime_formatinvalid datetime format
invalid_datetime_format (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22008datetime_field_overflowdatetime field overflow
datetime_field_overflow (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22009invalid_time_zone_displacement_valueinvalid time zone displacement value
invalid_time_zone_displacement_value (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22010invalid_indicator_parameter_valueinvalid indicator parameter value
invalid_indicator_parameter_value (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22011substring_errorsubstring error
substring_error (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22012division_by_zerodivision by zero
division_by_zero (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22013invalid_preceding_or_following_sizeinvalid preceding or following size
invalid_preceding_or_following_size (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22014invalid_argument_for_ntile_functioninvalid argument for ntile function
invalid_argument_for_ntile_function (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22015interval_field_overflowinterval field overflow
interval_field_overflow (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22016invalid_argument_for_nth_value_functioninvalid argument for nth value function
invalid_argument_for_nth_value_function (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22018invalid_character_value_for_castinvalid character value for cast
invalid_character_value_for_cast (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22019invalid_escape_characterinvalid escape character
invalid_escape_character (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22021character_not_in_repertoirecharacter not in repertoire
character_not_in_repertoire (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22022indicator_overflowindicator overflow
indicator_overflow (Class 22 — Data Exception)
PostgreSQLPostgreSQL - 22023invalid_parameter_valueinvalid parameter value
invalid_parameter_value (Class 22 — Data Exception)
PostgreSQLPostgreSQL