postgresql-typed-0.5.1: PostgreSQL interface with compile-time SQL type checking, optional HDBC backend

Safe HaskellSafe
LanguageHaskell98

Database.PostgreSQL.Typed.ErrCodes

Contents

Description

PostgreSQL error codes.

Synopsis

Documentation

names :: Map ByteString String Source #

All known error code names by code.

Class 00 - Successful Completion

successful_completion :: ByteString Source #

SUCCESSFUL_COMPLETION: 00000 (Success)

Class 01 - Warning

warning :: ByteString Source #

WARNING: 01000 (Warning)

warning_dynamic_result_sets_returned :: ByteString Source #

WARNING_DYNAMIC_RESULT_SETS_RETURNED: 0100C (Warning)

warning_implicit_zero_bit_padding :: ByteString Source #

WARNING_IMPLICIT_ZERO_BIT_PADDING: 01008 (Warning)

warning_null_value_eliminated_in_set_function :: ByteString Source #

WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION: 01003 (Warning)

warning_privilege_not_granted :: ByteString Source #

WARNING_PRIVILEGE_NOT_GRANTED: 01007 (Warning)

warning_privilege_not_revoked :: ByteString Source #

WARNING_PRIVILEGE_NOT_REVOKED: 01006 (Warning)

warning_string_data_right_truncation :: ByteString Source #

WARNING_STRING_DATA_RIGHT_TRUNCATION: 01004 (Warning)

warning_deprecated_feature :: ByteString Source #

WARNING_DEPRECATED_FEATURE: 01P01 (Warning)

Class 02 - No Data (this is also a warning class per the SQL standard)

no_data :: ByteString Source #

NO_DATA: 02000 (Warning)

no_additional_dynamic_result_sets_returned :: ByteString Source #

NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED: 02001 (Warning)

Class 03 - SQL Statement Not Yet Complete

sql_statement_not_yet_complete :: ByteString Source #

SQL_STATEMENT_NOT_YET_COMPLETE: 03000 (Error)

Class 08 - Connection Exception

connection_exception :: ByteString Source #

CONNECTION_EXCEPTION: 08000 (Error)

connection_does_not_exist :: ByteString Source #

CONNECTION_DOES_NOT_EXIST: 08003 (Error)

connection_failure :: ByteString Source #

CONNECTION_FAILURE: 08006 (Error)

sqlclient_unable_to_establish_sqlconnection :: ByteString Source #

SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION: 08001 (Error)

sqlserver_rejected_establishment_of_sqlconnection :: ByteString Source #

SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION: 08004 (Error)

transaction_resolution_unknown :: ByteString Source #

TRANSACTION_RESOLUTION_UNKNOWN: 08007 (Error)

protocol_violation :: ByteString Source #

PROTOCOL_VIOLATION: 08P01 (Error)

Class 09 - Triggered Action Exception

triggered_action_exception :: ByteString Source #

TRIGGERED_ACTION_EXCEPTION: 09000 (Error)

Class 0A - Feature Not Supported

feature_not_supported :: ByteString Source #

FEATURE_NOT_SUPPORTED: 0A000 (Error)

Class 0B - Invalid Transaction Initiation

invalid_transaction_initiation :: ByteString Source #

INVALID_TRANSACTION_INITIATION: 0B000 (Error)

Class 0F - Locator Exception

locator_exception :: ByteString Source #

LOCATOR_EXCEPTION: 0F000 (Error)

invalid_locator_specification :: ByteString Source #

L_E_INVALID_SPECIFICATION: 0F001 (Error)

Class 0L - Invalid Grantor

invalid_grantor :: ByteString Source #

INVALID_GRANTOR: 0L000 (Error)

invalid_grant_operation :: ByteString Source #

INVALID_GRANT_OPERATION: 0LP01 (Error)

Class 0P - Invalid Role Specification

invalid_role_specification :: ByteString Source #

INVALID_ROLE_SPECIFICATION: 0P000 (Error)

Class 0Z - Diagnostics Exception

diagnostics_exception :: ByteString Source #

DIAGNOSTICS_EXCEPTION: 0Z000 (Error)

stacked_diagnostics_accessed_without_active_handler :: ByteString Source #

STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER: 0Z002 (Error)

Class 20 - Case Not Found

case_not_found :: ByteString Source #

CASE_NOT_FOUND: 20000 (Error)

Class 21 - Cardinality Violation

cardinality_violation :: ByteString Source #

CARDINALITY_VIOLATION: 21000 (Error)

Class 22 - Data Exception

data_exception :: ByteString Source #

DATA_EXCEPTION: 22000 (Error)

_ARRAY_ELEMENT_ERROR :: ByteString Source #

ARRAY_ELEMENT_ERROR: 2202E (Error)

array_subscript_error :: ByteString Source #

ARRAY_SUBSCRIPT_ERROR: 2202E (Error)

character_not_in_repertoire :: ByteString Source #

CHARACTER_NOT_IN_REPERTOIRE: 22021 (Error)

datetime_field_overflow :: ByteString Source #

DATETIME_FIELD_OVERFLOW: 22008 (Error)

_DATETIME_VALUE_OUT_OF_RANGE :: ByteString Source #

DATETIME_VALUE_OUT_OF_RANGE: 22008 (Error)

division_by_zero :: ByteString Source #

DIVISION_BY_ZERO: 22012 (Error)

error_in_assignment :: ByteString Source #

ERROR_IN_ASSIGNMENT: 22005 (Error)

escape_character_conflict :: ByteString Source #

ESCAPE_CHARACTER_CONFLICT: 2200B (Error)

indicator_overflow :: ByteString Source #

INDICATOR_OVERFLOW: 22022 (Error)

interval_field_overflow :: ByteString Source #

INTERVAL_FIELD_OVERFLOW: 22015 (Error)

invalid_argument_for_logarithm :: ByteString Source #

INVALID_ARGUMENT_FOR_LOG: 2201E (Error)

invalid_argument_for_ntile_function :: ByteString Source #

INVALID_ARGUMENT_FOR_NTILE: 22014 (Error)

invalid_argument_for_nth_value_function :: ByteString Source #

INVALID_ARGUMENT_FOR_NTH_VALUE: 22016 (Error)

invalid_argument_for_power_function :: ByteString Source #

INVALID_ARGUMENT_FOR_POWER_FUNCTION: 2201F (Error)

invalid_argument_for_width_bucket_function :: ByteString Source #

INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION: 2201G (Error)

invalid_character_value_for_cast :: ByteString Source #

INVALID_CHARACTER_VALUE_FOR_CAST: 22018 (Error)

invalid_datetime_format :: ByteString Source #

INVALID_DATETIME_FORMAT: 22007 (Error)

invalid_escape_character :: ByteString Source #

INVALID_ESCAPE_CHARACTER: 22019 (Error)

invalid_escape_octet :: ByteString Source #

INVALID_ESCAPE_OCTET: 2200D (Error)

invalid_escape_sequence :: ByteString Source #

INVALID_ESCAPE_SEQUENCE: 22025 (Error)

nonstandard_use_of_escape_character :: ByteString Source #

NONSTANDARD_USE_OF_ESCAPE_CHARACTER: 22P06 (Error)

invalid_indicator_parameter_value :: ByteString Source #

INVALID_INDICATOR_PARAMETER_VALUE: 22010 (Error)

invalid_parameter_value :: ByteString Source #

INVALID_PARAMETER_VALUE: 22023 (Error)

invalid_regular_expression :: ByteString Source #

INVALID_REGULAR_EXPRESSION: 2201B (Error)

invalid_row_count_in_limit_clause :: ByteString Source #

INVALID_ROW_COUNT_IN_LIMIT_CLAUSE: 2201W (Error)

invalid_row_count_in_result_offset_clause :: ByteString Source #

INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE: 2201X (Error)

invalid_tablesample_argument :: ByteString Source #

INVALID_TABLESAMPLE_ARGUMENT: 2202H (Error)

invalid_tablesample_repeat :: ByteString Source #

INVALID_TABLESAMPLE_REPEAT: 2202G (Error)

invalid_time_zone_displacement_value :: ByteString Source #

INVALID_TIME_ZONE_DISPLACEMENT_VALUE: 22009 (Error)

invalid_use_of_escape_character :: ByteString Source #

INVALID_USE_OF_ESCAPE_CHARACTER: 2200C (Error)

most_specific_type_mismatch :: ByteString Source #

MOST_SPECIFIC_TYPE_MISMATCH: 2200G (Error)

null_value_not_allowed :: ByteString Source #

NULL_VALUE_NOT_ALLOWED: 22004 (Error)

null_value_no_indicator_parameter :: ByteString Source #

NULL_VALUE_NO_INDICATOR_PARAMETER: 22002 (Error)

numeric_value_out_of_range :: ByteString Source #

NUMERIC_VALUE_OUT_OF_RANGE: 22003 (Error)

string_data_length_mismatch :: ByteString Source #

STRING_DATA_LENGTH_MISMATCH: 22026 (Error)

string_data_right_truncation :: ByteString Source #

STRING_DATA_RIGHT_TRUNCATION: 22001 (Error)

substring_error :: ByteString Source #

SUBSTRING_ERROR: 22011 (Error)

trim_error :: ByteString Source #

TRIM_ERROR: 22027 (Error)

unterminated_c_string :: ByteString Source #

UNTERMINATED_C_STRING: 22024 (Error)

zero_length_character_string :: ByteString Source #

ZERO_LENGTH_CHARACTER_STRING: 2200F (Error)

floating_point_exception :: ByteString Source #

FLOATING_POINT_EXCEPTION: 22P01 (Error)

invalid_text_representation :: ByteString Source #

INVALID_TEXT_REPRESENTATION: 22P02 (Error)

invalid_binary_representation :: ByteString Source #

INVALID_BINARY_REPRESENTATION: 22P03 (Error)

bad_copy_file_format :: ByteString Source #

BAD_COPY_FILE_FORMAT: 22P04 (Error)

untranslatable_character :: ByteString Source #

UNTRANSLATABLE_CHARACTER: 22P05 (Error)

not_an_xml_document :: ByteString Source #

NOT_AN_XML_DOCUMENT: 2200L (Error)

invalid_xml_document :: ByteString Source #

INVALID_XML_DOCUMENT: 2200M (Error)

invalid_xml_content :: ByteString Source #

INVALID_XML_CONTENT: 2200N (Error)

invalid_xml_comment :: ByteString Source #

INVALID_XML_COMMENT: 2200S (Error)

invalid_xml_processing_instruction :: ByteString Source #

INVALID_XML_PROCESSING_INSTRUCTION: 2200T (Error)

Class 23 - Integrity Constraint Violation

integrity_constraint_violation :: ByteString Source #

INTEGRITY_CONSTRAINT_VIOLATION: 23000 (Error)

restrict_violation :: ByteString Source #

RESTRICT_VIOLATION: 23001 (Error)

not_null_violation :: ByteString Source #

NOT_NULL_VIOLATION: 23502 (Error)

foreign_key_violation :: ByteString Source #

FOREIGN_KEY_VIOLATION: 23503 (Error)

unique_violation :: ByteString Source #

UNIQUE_VIOLATION: 23505 (Error)

check_violation :: ByteString Source #

CHECK_VIOLATION: 23514 (Error)

exclusion_violation :: ByteString Source #

EXCLUSION_VIOLATION: 23P01 (Error)

Class 24 - Invalid Cursor State

invalid_cursor_state :: ByteString Source #

INVALID_CURSOR_STATE: 24000 (Error)

Class 25 - Invalid Transaction State

invalid_transaction_state :: ByteString Source #

INVALID_TRANSACTION_STATE: 25000 (Error)

active_sql_transaction :: ByteString Source #

ACTIVE_SQL_TRANSACTION: 25001 (Error)

branch_transaction_already_active :: ByteString Source #

BRANCH_TRANSACTION_ALREADY_ACTIVE: 25002 (Error)

held_cursor_requires_same_isolation_level :: ByteString Source #

HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL: 25008 (Error)

inappropriate_access_mode_for_branch_transaction :: ByteString Source #

INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION: 25003 (Error)

inappropriate_isolation_level_for_branch_transaction :: ByteString Source #

INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION: 25004 (Error)

no_active_sql_transaction_for_branch_transaction :: ByteString Source #

NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION: 25005 (Error)

read_only_sql_transaction :: ByteString Source #

READ_ONLY_SQL_TRANSACTION: 25006 (Error)

schema_and_data_statement_mixing_not_supported :: ByteString Source #

SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED: 25007 (Error)

no_active_sql_transaction :: ByteString Source #

NO_ACTIVE_SQL_TRANSACTION: 25P01 (Error)

in_failed_sql_transaction :: ByteString Source #

IN_FAILED_SQL_TRANSACTION: 25P02 (Error)

Class 26 - Invalid SQL Statement Name

invalid_sql_statement_name :: ByteString Source #

INVALID_SQL_STATEMENT_NAME: 26000 (Error)

Class 27 - Triggered Data Change Violation

triggered_data_change_violation :: ByteString Source #

TRIGGERED_DATA_CHANGE_VIOLATION: 27000 (Error)

Class 28 - Invalid Authorization Specification

invalid_authorization_specification :: ByteString Source #

INVALID_AUTHORIZATION_SPECIFICATION: 28000 (Error)

invalid_password :: ByteString Source #

INVALID_PASSWORD: 28P01 (Error)

Class 2B - Dependent Privilege Descriptors Still Exist

dependent_privilege_descriptors_still_exist :: ByteString Source #

DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST: 2B000 (Error)

dependent_objects_still_exist :: ByteString Source #

DEPENDENT_OBJECTS_STILL_EXIST: 2BP01 (Error)

Class 2D - Invalid Transaction Termination

invalid_transaction_termination :: ByteString Source #

INVALID_TRANSACTION_TERMINATION: 2D000 (Error)

Class 2F - SQL Routine Exception

sql_routine_exception :: ByteString Source #

SQL_ROUTINE_EXCEPTION: 2F000 (Error)

s_r_e_function_executed_no_return_statement :: ByteString Source #

S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT: 2F005 (Error)

s_r_e_modifying_sql_data_not_permitted :: ByteString Source #

S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: 2F002 (Error)

s_r_e_prohibited_sql_statement_attempted :: ByteString Source #

S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: 2F003 (Error)

s_r_e_reading_sql_data_not_permitted :: ByteString Source #

S_R_E_READING_SQL_DATA_NOT_PERMITTED: 2F004 (Error)

Class 34 - Invalid Cursor Name

invalid_cursor_name :: ByteString Source #

INVALID_CURSOR_NAME: 34000 (Error)

Class 38 - External Routine Exception

external_routine_exception :: ByteString Source #

EXTERNAL_ROUTINE_EXCEPTION: 38000 (Error)

e_r_e_containing_sql_not_permitted :: ByteString Source #

E_R_E_CONTAINING_SQL_NOT_PERMITTED: 38001 (Error)

e_r_e_modifying_sql_data_not_permitted :: ByteString Source #

E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: 38002 (Error)

e_r_e_prohibited_sql_statement_attempted :: ByteString Source #

E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: 38003 (Error)

e_r_e_reading_sql_data_not_permitted :: ByteString Source #

E_R_E_READING_SQL_DATA_NOT_PERMITTED: 38004 (Error)

Class 39 - External Routine Invocation Exception

external_routine_invocation_exception :: ByteString Source #

EXTERNAL_ROUTINE_INVOCATION_EXCEPTION: 39000 (Error)

e_r_i_e_invalid_sqlstate_returned :: ByteString Source #

E_R_I_E_INVALID_SQLSTATE_RETURNED: 39001 (Error)

e_r_i_e_null_value_not_allowed :: ByteString Source #

E_R_I_E_NULL_VALUE_NOT_ALLOWED: 39004 (Error)

e_r_i_e_trigger_protocol_violated :: ByteString Source #

E_R_I_E_TRIGGER_PROTOCOL_VIOLATED: 39P01 (Error)

e_r_i_e_srf_protocol_violated :: ByteString Source #

E_R_I_E_SRF_PROTOCOL_VIOLATED: 39P02 (Error)

e_r_i_e_event_trigger_protocol_violated :: ByteString Source #

E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED: 39P03 (Error)

Class 3B - Savepoint Exception

savepoint_exception :: ByteString Source #

SAVEPOINT_EXCEPTION: 3B000 (Error)

invalid_savepoint_specification :: ByteString Source #

S_E_INVALID_SPECIFICATION: 3B001 (Error)

Class 3D - Invalid Catalog Name

invalid_catalog_name :: ByteString Source #

INVALID_CATALOG_NAME: 3D000 (Error)

Class 3F - Invalid Schema Name

invalid_schema_name :: ByteString Source #

INVALID_SCHEMA_NAME: 3F000 (Error)

Class 40 - Transaction Rollback

transaction_rollback :: ByteString Source #

TRANSACTION_ROLLBACK: 40000 (Error)

transaction_integrity_constraint_violation :: ByteString Source #

T_R_INTEGRITY_CONSTRAINT_VIOLATION: 40002 (Error)

serialization_failure :: ByteString Source #

T_R_SERIALIZATION_FAILURE: 40001 (Error)

statement_completion_unknown :: ByteString Source #

T_R_STATEMENT_COMPLETION_UNKNOWN: 40003 (Error)

deadlock_detected :: ByteString Source #

T_R_DEADLOCK_DETECTED: 40P01 (Error)

Class 42 - Syntax Error or Access Rule Violation

syntax_error_or_access_rule_violation :: ByteString Source #

SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION: 42000 (Error)

syntax_error :: ByteString Source #

SYNTAX_ERROR: 42601 (Error)

insufficient_privilege :: ByteString Source #

INSUFFICIENT_PRIVILEGE: 42501 (Error)

cannot_coerce :: ByteString Source #

CANNOT_COERCE: 42846 (Error)

grouping_error :: ByteString Source #

GROUPING_ERROR: 42803 (Error)

windowing_error :: ByteString Source #

WINDOWING_ERROR: 42P20 (Error)

invalid_recursion :: ByteString Source #

INVALID_RECURSION: 42P19 (Error)

invalid_foreign_key :: ByteString Source #

INVALID_FOREIGN_KEY: 42830 (Error)

invalid_name :: ByteString Source #

INVALID_NAME: 42602 (Error)

name_too_long :: ByteString Source #

NAME_TOO_LONG: 42622 (Error)

reserved_name :: ByteString Source #

RESERVED_NAME: 42939 (Error)

datatype_mismatch :: ByteString Source #

DATATYPE_MISMATCH: 42804 (Error)

indeterminate_datatype :: ByteString Source #

INDETERMINATE_DATATYPE: 42P18 (Error)

collation_mismatch :: ByteString Source #

COLLATION_MISMATCH: 42P21 (Error)

indeterminate_collation :: ByteString Source #

INDETERMINATE_COLLATION: 42P22 (Error)

wrong_object_type :: ByteString Source #

WRONG_OBJECT_TYPE: 42809 (Error)

undefined_column :: ByteString Source #

UNDEFINED_COLUMN: 42703 (Error)

_UNDEFINED_CURSOR :: ByteString Source #

UNDEFINED_CURSOR: 34000 (Error)

_UNDEFINED_DATABASE :: ByteString Source #

UNDEFINED_DATABASE: 3D000 (Error)

undefined_function :: ByteString Source #

UNDEFINED_FUNCTION: 42883 (Error)

_UNDEFINED_PSTATEMENT :: ByteString Source #

UNDEFINED_PSTATEMENT: 26000 (Error)

_UNDEFINED_SCHEMA :: ByteString Source #

UNDEFINED_SCHEMA: 3F000 (Error)

undefined_table :: ByteString Source #

UNDEFINED_TABLE: 42P01 (Error)

undefined_parameter :: ByteString Source #

UNDEFINED_PARAMETER: 42P02 (Error)

undefined_object :: ByteString Source #

UNDEFINED_OBJECT: 42704 (Error)

duplicate_column :: ByteString Source #

DUPLICATE_COLUMN: 42701 (Error)

duplicate_cursor :: ByteString Source #

DUPLICATE_CURSOR: 42P03 (Error)

duplicate_database :: ByteString Source #

DUPLICATE_DATABASE: 42P04 (Error)

duplicate_function :: ByteString Source #

DUPLICATE_FUNCTION: 42723 (Error)

duplicate_prepared_statement :: ByteString Source #

DUPLICATE_PSTATEMENT: 42P05 (Error)

duplicate_schema :: ByteString Source #

DUPLICATE_SCHEMA: 42P06 (Error)

duplicate_table :: ByteString Source #

DUPLICATE_TABLE: 42P07 (Error)

duplicate_alias :: ByteString Source #

DUPLICATE_ALIAS: 42712 (Error)

duplicate_object :: ByteString Source #

DUPLICATE_OBJECT: 42710 (Error)

ambiguous_column :: ByteString Source #

AMBIGUOUS_COLUMN: 42702 (Error)

ambiguous_function :: ByteString Source #

AMBIGUOUS_FUNCTION: 42725 (Error)

ambiguous_parameter :: ByteString Source #

AMBIGUOUS_PARAMETER: 42P08 (Error)

ambiguous_alias :: ByteString Source #

AMBIGUOUS_ALIAS: 42P09 (Error)

invalid_column_reference :: ByteString Source #

INVALID_COLUMN_REFERENCE: 42P10 (Error)

invalid_column_definition :: ByteString Source #

INVALID_COLUMN_DEFINITION: 42611 (Error)

invalid_cursor_definition :: ByteString Source #

INVALID_CURSOR_DEFINITION: 42P11 (Error)

invalid_database_definition :: ByteString Source #

INVALID_DATABASE_DEFINITION: 42P12 (Error)

invalid_function_definition :: ByteString Source #

INVALID_FUNCTION_DEFINITION: 42P13 (Error)

invalid_prepared_statement_definition :: ByteString Source #

INVALID_PSTATEMENT_DEFINITION: 42P14 (Error)

invalid_schema_definition :: ByteString Source #

INVALID_SCHEMA_DEFINITION: 42P15 (Error)

invalid_table_definition :: ByteString Source #

INVALID_TABLE_DEFINITION: 42P16 (Error)

invalid_object_definition :: ByteString Source #

INVALID_OBJECT_DEFINITION: 42P17 (Error)

Class 44 - WITH CHECK OPTION Violation

with_check_option_violation :: ByteString Source #

WITH_CHECK_OPTION_VIOLATION: 44000 (Error)

Class 53 - Insufficient Resources

insufficient_resources :: ByteString Source #

INSUFFICIENT_RESOURCES: 53000 (Error)

disk_full :: ByteString Source #

DISK_FULL: 53100 (Error)

out_of_memory :: ByteString Source #

OUT_OF_MEMORY: 53200 (Error)

too_many_connections :: ByteString Source #

TOO_MANY_CONNECTIONS: 53300 (Error)

configuration_limit_exceeded :: ByteString Source #

CONFIGURATION_LIMIT_EXCEEDED: 53400 (Error)

Class 54 - Program Limit Exceeded

program_limit_exceeded :: ByteString Source #

PROGRAM_LIMIT_EXCEEDED: 54000 (Error)

statement_too_complex :: ByteString Source #

STATEMENT_TOO_COMPLEX: 54001 (Error)

too_many_columns :: ByteString Source #

TOO_MANY_COLUMNS: 54011 (Error)

too_many_arguments :: ByteString Source #

TOO_MANY_ARGUMENTS: 54023 (Error)

Class 55 - Object Not In Prerequisite State

object_not_in_prerequisite_state :: ByteString Source #

OBJECT_NOT_IN_PREREQUISITE_STATE: 55000 (Error)

object_in_use :: ByteString Source #

OBJECT_IN_USE: 55006 (Error)

cant_change_runtime_param :: ByteString Source #

CANT_CHANGE_RUNTIME_PARAM: 55P02 (Error)

lock_not_available :: ByteString Source #

LOCK_NOT_AVAILABLE: 55P03 (Error)

Class 57 - Operator Intervention

operator_intervention :: ByteString Source #

OPERATOR_INTERVENTION: 57000 (Error)

query_canceled :: ByteString Source #

QUERY_CANCELED: 57014 (Error)

admin_shutdown :: ByteString Source #

ADMIN_SHUTDOWN: 57P01 (Error)

crash_shutdown :: ByteString Source #

CRASH_SHUTDOWN: 57P02 (Error)

cannot_connect_now :: ByteString Source #

CANNOT_CONNECT_NOW: 57P03 (Error)

database_dropped :: ByteString Source #

DATABASE_DROPPED: 57P04 (Error)

Class 58 - System Error (errors external to PostgreSQL itself)

system_error :: ByteString Source #

SYSTEM_ERROR: 58000 (Error)

io_error :: ByteString Source #

IO_ERROR: 58030 (Error)

undefined_file :: ByteString Source #

UNDEFINED_FILE: 58P01 (Error)

duplicate_file :: ByteString Source #

DUPLICATE_FILE: 58P02 (Error)

Class F0 - Configuration File Error

config_file_error :: ByteString Source #

CONFIG_FILE_ERROR: F0000 (Error)

lock_file_exists :: ByteString Source #

LOCK_FILE_EXISTS: F0001 (Error)

Class HV - Foreign Data Wrapper Error (SQL/MED)

fdw_error :: ByteString Source #

FDW_ERROR: HV000 (Error)

fdw_column_name_not_found :: ByteString Source #

FDW_COLUMN_NAME_NOT_FOUND: HV005 (Error)

fdw_dynamic_parameter_value_needed :: ByteString Source #

FDW_DYNAMIC_PARAMETER_VALUE_NEEDED: HV002 (Error)

fdw_function_sequence_error :: ByteString Source #

FDW_FUNCTION_SEQUENCE_ERROR: HV010 (Error)

fdw_inconsistent_descriptor_information :: ByteString Source #

FDW_INCONSISTENT_DESCRIPTOR_INFORMATION: HV021 (Error)

fdw_invalid_attribute_value :: ByteString Source #

FDW_INVALID_ATTRIBUTE_VALUE: HV024 (Error)

fdw_invalid_column_name :: ByteString Source #

FDW_INVALID_COLUMN_NAME: HV007 (Error)

fdw_invalid_column_number :: ByteString Source #

FDW_INVALID_COLUMN_NUMBER: HV008 (Error)

fdw_invalid_data_type :: ByteString Source #

FDW_INVALID_DATA_TYPE: HV004 (Error)

fdw_invalid_data_type_descriptors :: ByteString Source #

FDW_INVALID_DATA_TYPE_DESCRIPTORS: HV006 (Error)

fdw_invalid_descriptor_field_identifier :: ByteString Source #

FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER: HV091 (Error)

fdw_invalid_handle :: ByteString Source #

FDW_INVALID_HANDLE: HV00B (Error)

fdw_invalid_option_index :: ByteString Source #

FDW_INVALID_OPTION_INDEX: HV00C (Error)

fdw_invalid_option_name :: ByteString Source #

FDW_INVALID_OPTION_NAME: HV00D (Error)

fdw_invalid_string_length_or_buffer_length :: ByteString Source #

FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH: HV090 (Error)

fdw_invalid_string_format :: ByteString Source #

FDW_INVALID_STRING_FORMAT: HV00A (Error)

fdw_invalid_use_of_null_pointer :: ByteString Source #

FDW_INVALID_USE_OF_NULL_POINTER: HV009 (Error)

fdw_too_many_handles :: ByteString Source #

FDW_TOO_MANY_HANDLES: HV014 (Error)

fdw_out_of_memory :: ByteString Source #

FDW_OUT_OF_MEMORY: HV001 (Error)

fdw_no_schemas :: ByteString Source #

FDW_NO_SCHEMAS: HV00P (Error)

fdw_option_name_not_found :: ByteString Source #

FDW_OPTION_NAME_NOT_FOUND: HV00J (Error)

fdw_reply_handle :: ByteString Source #

FDW_REPLY_HANDLE: HV00K (Error)

fdw_schema_not_found :: ByteString Source #

FDW_SCHEMA_NOT_FOUND: HV00Q (Error)

fdw_table_not_found :: ByteString Source #

FDW_TABLE_NOT_FOUND: HV00R (Error)

fdw_unable_to_create_execution :: ByteString Source #

FDW_UNABLE_TO_CREATE_EXECUTION: HV00L (Error)

fdw_unable_to_create_reply :: ByteString Source #

FDW_UNABLE_TO_CREATE_REPLY: HV00M (Error)

fdw_unable_to_establish_connection :: ByteString Source #

FDW_UNABLE_TO_ESTABLISH_CONNECTION: HV00N (Error)

Class P0 - PL/pgSQL Error

plpgsql_error :: ByteString Source #

PLPGSQL_ERROR: P0000 (Error)

raise_exception :: ByteString Source #

RAISE_EXCEPTION: P0001 (Error)

no_data_found :: ByteString Source #

NO_DATA_FOUND: P0002 (Error)

too_many_rows :: ByteString Source #

TOO_MANY_ROWS: P0003 (Error)

assert_failure :: ByteString Source #

ASSERT_FAILURE: P0004 (Error)

Class XX - Internal Error

internal_error :: ByteString Source #

INTERNAL_ERROR: XX000 (Error)

data_corrupted :: ByteString Source #

DATA_CORRUPTED: XX001 (Error)

index_corrupted :: ByteString Source #

INDEX_CORRUPTED: XX002 (Error)