SQL errors and diagnostics, page 2 of 2
The error codes and warnings of SQL, with the message that each one prints and what causes it. This page has 263 cards.
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name duplicate_alias.
- Code
42712- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name duplicate_function.
- Code
42723- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name ambiguous_function.
- Code
42725- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name grouping_error.
- Code
42803- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name datatype_mismatch.
- Code
42804- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name wrong_object_type.
- Code
42809- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name invalid_foreign_key.
- Code
42830- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name cannot_coerce.
- Code
42846- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name undefined_function.
- Code
42883- Severity
- error
Class 42: Syntax Error or Access Rule Violation. PostgreSQL gives it the condition name reserved_name.
- Code
42939- Severity
- error
Class 44: WITH CHECK OPTION Violation. PostgreSQL gives it the condition name with_check_option_violation.
- Code
44000- Severity
- error
Class 53: Insufficient Resources. PostgreSQL gives it the condition name insufficient_resources.
- Code
53000- Severity
- error
Class 53: Insufficient Resources. PostgreSQL gives it the condition name disk_full.
- Code
53100- Severity
- error
Class 53: Insufficient Resources. PostgreSQL gives it the condition name out_of_memory.
- Code
53200- Severity
- error
Class 53: Insufficient Resources. PostgreSQL gives it the condition name too_many_connections.
- Code
53300- Severity
- error
Class 53: Insufficient Resources. PostgreSQL gives it the condition name configuration_limit_exceeded.
- Code
53400- Severity
- error
Class 54: Program Limit Exceeded. PostgreSQL gives it the condition name program_limit_exceeded.
- Code
54000- Severity
- error
Class 54: Program Limit Exceeded. PostgreSQL gives it the condition name statement_too_complex.
- Code
54001- Severity
- error
Class 54: Program Limit Exceeded. PostgreSQL gives it the condition name too_many_columns.
- Code
54011- Severity
- error
Class 54: Program Limit Exceeded. PostgreSQL gives it the condition name too_many_arguments.
- Code
54023- Severity
- error
Class 55: Object Not In Prerequisite State. PostgreSQL gives it the condition name object_not_in_prerequisite_state.
- Code
55000- Severity
- error
Class 55: Object Not In Prerequisite State. PostgreSQL gives it the condition name object_in_use.
- Code
55006- Severity
- error
Class 57: Operator Intervention. PostgreSQL gives it the condition name operator_intervention.
- Code
57000- Severity
- error
Class 57: Operator Intervention. PostgreSQL gives it the condition name query_canceled.
- Code
57014- Severity
- error
Class 58: System Error (errors external to PostgreSQL itself). PostgreSQL gives it the condition name system_error.
- Code
58000- Severity
- error
Class 58: System Error (errors external to PostgreSQL itself). PostgreSQL gives it the condition name io_error.
- Code
58030- Severity
- error
Class F0: Configuration File Error. PostgreSQL gives it the condition name config_file_error.
- Code
F0000- Severity
- error
Class F0: Configuration File Error. PostgreSQL gives it the condition name lock_file_exists.
- Code
F0001- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_error.
- Code
HV000- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_string_format.
- Code
HV00A- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_handle.
- Code
HV00B- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_option_index.
- Code
HV00C- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_option_name.
- Code
HV00D- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_option_name_not_found.
- Code
HV00J- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_reply_handle.
- Code
HV00K- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_unable_to_create_execution.
- Code
HV00L- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_unable_to_create_reply.
- Code
HV00M- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_unable_to_establish_connection.
- Code
HV00N- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_no_schemas.
- Code
HV00P- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_schema_not_found.
- Code
HV00Q- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_table_not_found.
- Code
HV00R- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_out_of_memory.
- Code
HV001- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_dynamic_parameter_value_needed.
- Code
HV002- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_data_type.
- Code
HV004- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_column_name_not_found.
- Code
HV005- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_data_type_descriptors.
- Code
HV006- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_column_name.
- Code
HV007- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_column_number.
- Code
HV008- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_use_of_null_pointer.
- Code
HV009- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_function_sequence_error.
- Code
HV010- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_too_many_handles.
- Code
HV014- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_inconsistent_descriptor_information.
- Code
HV021- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_attribute_value.
- Code
HV024- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_string_length_or_buffer_length.
- Code
HV090- Severity
- error
Class HV: Foreign Data Wrapper Error (SQL/MED). PostgreSQL gives it the condition name fdw_invalid_descriptor_field_identifier.
- Code
HV091- Severity
- error
Class P0: PL/pgSQL Error. PostgreSQL gives it the condition name plpgsql_error.
- Code
P0000- Severity
- error
Class P0: PL/pgSQL Error. PostgreSQL gives it the condition name raise_exception.
- Code
P0001- Severity
- error
Class P0: PL/pgSQL Error. PostgreSQL gives it the condition name no_data_found.
- Code
P0002- Severity
- error
Class P0: PL/pgSQL Error. PostgreSQL gives it the condition name too_many_rows.
- Code
P0003- Severity
- error
Class P0: PL/pgSQL Error. PostgreSQL gives it the condition name assert_failure.
- Code
P0004- Severity
- error
Class XX: Internal Error. PostgreSQL gives it the condition name internal_error.
- Code
XX000- Severity
- error
Class XX: Internal Error. PostgreSQL gives it the condition name data_corrupted.
- Code
XX001- Severity
- error
Class XX: Internal Error. PostgreSQL gives it the condition name index_corrupted.
- Code
XX002- Severity
- error