pub struct SqlState(/* private fields */);
Expand description
A SQLSTATE error code
Implementations§
source§impl SqlState
impl SqlState
sourcepub const SUCCESSFUL_COMPLETION: SqlState = _
pub const SUCCESSFUL_COMPLETION: SqlState = _
00000
sourcepub const WARNING_DYNAMIC_RESULT_SETS_RETURNED: SqlState = _
pub const WARNING_DYNAMIC_RESULT_SETS_RETURNED: SqlState = _
0100C
sourcepub const WARNING_IMPLICIT_ZERO_BIT_PADDING: SqlState = _
pub const WARNING_IMPLICIT_ZERO_BIT_PADDING: SqlState = _
01008
sourcepub const WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION: SqlState = _
pub const WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION: SqlState = _
01003
sourcepub const WARNING_PRIVILEGE_NOT_GRANTED: SqlState = _
pub const WARNING_PRIVILEGE_NOT_GRANTED: SqlState = _
01007
sourcepub const WARNING_PRIVILEGE_NOT_REVOKED: SqlState = _
pub const WARNING_PRIVILEGE_NOT_REVOKED: SqlState = _
01006
sourcepub const WARNING_STRING_DATA_RIGHT_TRUNCATION: SqlState = _
pub const WARNING_STRING_DATA_RIGHT_TRUNCATION: SqlState = _
01004
sourcepub const WARNING_DEPRECATED_FEATURE: SqlState = _
pub const WARNING_DEPRECATED_FEATURE: SqlState = _
01P01
sourcepub const NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED: SqlState = _
pub const NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED: SqlState = _
02001
sourcepub const SQL_STATEMENT_NOT_YET_COMPLETE: SqlState = _
pub const SQL_STATEMENT_NOT_YET_COMPLETE: SqlState = _
03000
sourcepub const CONNECTION_EXCEPTION: SqlState = _
pub const CONNECTION_EXCEPTION: SqlState = _
08000
sourcepub const CONNECTION_DOES_NOT_EXIST: SqlState = _
pub const CONNECTION_DOES_NOT_EXIST: SqlState = _
08003
sourcepub const CONNECTION_FAILURE: SqlState = _
pub const CONNECTION_FAILURE: SqlState = _
08006
sourcepub const SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION: SqlState = _
pub const SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION: SqlState = _
08001
sourcepub const SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION: SqlState = _
pub const SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION: SqlState = _
08004
sourcepub const TRANSACTION_RESOLUTION_UNKNOWN: SqlState = _
pub const TRANSACTION_RESOLUTION_UNKNOWN: SqlState = _
08007
sourcepub const PROTOCOL_VIOLATION: SqlState = _
pub const PROTOCOL_VIOLATION: SqlState = _
08P01
sourcepub const TRIGGERED_ACTION_EXCEPTION: SqlState = _
pub const TRIGGERED_ACTION_EXCEPTION: SqlState = _
09000
sourcepub const FEATURE_NOT_SUPPORTED: SqlState = _
pub const FEATURE_NOT_SUPPORTED: SqlState = _
0A000
sourcepub const INVALID_TRANSACTION_INITIATION: SqlState = _
pub const INVALID_TRANSACTION_INITIATION: SqlState = _
0B000
sourcepub const LOCATOR_EXCEPTION: SqlState = _
pub const LOCATOR_EXCEPTION: SqlState = _
0F000
sourcepub const L_E_INVALID_SPECIFICATION: SqlState = _
pub const L_E_INVALID_SPECIFICATION: SqlState = _
0F001
sourcepub const INVALID_GRANTOR: SqlState = _
pub const INVALID_GRANTOR: SqlState = _
0L000
sourcepub const INVALID_GRANT_OPERATION: SqlState = _
pub const INVALID_GRANT_OPERATION: SqlState = _
0LP01
sourcepub const INVALID_ROLE_SPECIFICATION: SqlState = _
pub const INVALID_ROLE_SPECIFICATION: SqlState = _
0P000
sourcepub const DIAGNOSTICS_EXCEPTION: SqlState = _
pub const DIAGNOSTICS_EXCEPTION: SqlState = _
0Z000
sourcepub const STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER: SqlState = _
pub const STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER: SqlState = _
0Z002
sourcepub const CASE_NOT_FOUND: SqlState = _
pub const CASE_NOT_FOUND: SqlState = _
20000
sourcepub const CARDINALITY_VIOLATION: SqlState = _
pub const CARDINALITY_VIOLATION: SqlState = _
21000
sourcepub const DATA_EXCEPTION: SqlState = _
pub const DATA_EXCEPTION: SqlState = _
22000
sourcepub const ARRAY_ELEMENT_ERROR: SqlState = _
pub const ARRAY_ELEMENT_ERROR: SqlState = _
2202E
sourcepub const ARRAY_SUBSCRIPT_ERROR: SqlState = _
pub const ARRAY_SUBSCRIPT_ERROR: SqlState = _
2202E
sourcepub const CHARACTER_NOT_IN_REPERTOIRE: SqlState = _
pub const CHARACTER_NOT_IN_REPERTOIRE: SqlState = _
22021
sourcepub const DATETIME_FIELD_OVERFLOW: SqlState = _
pub const DATETIME_FIELD_OVERFLOW: SqlState = _
22008
sourcepub const DATETIME_VALUE_OUT_OF_RANGE: SqlState = _
pub const DATETIME_VALUE_OUT_OF_RANGE: SqlState = _
22008
sourcepub const DIVISION_BY_ZERO: SqlState = _
pub const DIVISION_BY_ZERO: SqlState = _
22012
sourcepub const ERROR_IN_ASSIGNMENT: SqlState = _
pub const ERROR_IN_ASSIGNMENT: SqlState = _
22005
sourcepub const ESCAPE_CHARACTER_CONFLICT: SqlState = _
pub const ESCAPE_CHARACTER_CONFLICT: SqlState = _
2200B
sourcepub const INDICATOR_OVERFLOW: SqlState = _
pub const INDICATOR_OVERFLOW: SqlState = _
22022
sourcepub const INTERVAL_FIELD_OVERFLOW: SqlState = _
pub const INTERVAL_FIELD_OVERFLOW: SqlState = _
22015
sourcepub const INVALID_ARGUMENT_FOR_LOG: SqlState = _
pub const INVALID_ARGUMENT_FOR_LOG: SqlState = _
2201E
sourcepub const INVALID_ARGUMENT_FOR_NTILE: SqlState = _
pub const INVALID_ARGUMENT_FOR_NTILE: SqlState = _
22014
sourcepub const INVALID_ARGUMENT_FOR_NTH_VALUE: SqlState = _
pub const INVALID_ARGUMENT_FOR_NTH_VALUE: SqlState = _
22016
sourcepub const INVALID_ARGUMENT_FOR_POWER_FUNCTION: SqlState = _
pub const INVALID_ARGUMENT_FOR_POWER_FUNCTION: SqlState = _
2201F
sourcepub const INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION: SqlState = _
pub const INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION: SqlState = _
2201G
sourcepub const INVALID_CHARACTER_VALUE_FOR_CAST: SqlState = _
pub const INVALID_CHARACTER_VALUE_FOR_CAST: SqlState = _
22018
sourcepub const INVALID_DATETIME_FORMAT: SqlState = _
pub const INVALID_DATETIME_FORMAT: SqlState = _
22007
sourcepub const INVALID_ESCAPE_CHARACTER: SqlState = _
pub const INVALID_ESCAPE_CHARACTER: SqlState = _
22019
sourcepub const INVALID_ESCAPE_OCTET: SqlState = _
pub const INVALID_ESCAPE_OCTET: SqlState = _
2200D
sourcepub const INVALID_ESCAPE_SEQUENCE: SqlState = _
pub const INVALID_ESCAPE_SEQUENCE: SqlState = _
22025
sourcepub const NONSTANDARD_USE_OF_ESCAPE_CHARACTER: SqlState = _
pub const NONSTANDARD_USE_OF_ESCAPE_CHARACTER: SqlState = _
22P06
sourcepub const INVALID_INDICATOR_PARAMETER_VALUE: SqlState = _
pub const INVALID_INDICATOR_PARAMETER_VALUE: SqlState = _
22010
sourcepub const INVALID_PARAMETER_VALUE: SqlState = _
pub const INVALID_PARAMETER_VALUE: SqlState = _
22023
sourcepub const INVALID_PRECEDING_OR_FOLLOWING_SIZE: SqlState = _
pub const INVALID_PRECEDING_OR_FOLLOWING_SIZE: SqlState = _
22013
sourcepub const INVALID_REGULAR_EXPRESSION: SqlState = _
pub const INVALID_REGULAR_EXPRESSION: SqlState = _
2201B
sourcepub const INVALID_ROW_COUNT_IN_LIMIT_CLAUSE: SqlState = _
pub const INVALID_ROW_COUNT_IN_LIMIT_CLAUSE: SqlState = _
2201W
sourcepub const INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE: SqlState = _
pub const INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE: SqlState = _
2201X
sourcepub const INVALID_TABLESAMPLE_ARGUMENT: SqlState = _
pub const INVALID_TABLESAMPLE_ARGUMENT: SqlState = _
2202H
sourcepub const INVALID_TABLESAMPLE_REPEAT: SqlState = _
pub const INVALID_TABLESAMPLE_REPEAT: SqlState = _
2202G
sourcepub const INVALID_TIME_ZONE_DISPLACEMENT_VALUE: SqlState = _
pub const INVALID_TIME_ZONE_DISPLACEMENT_VALUE: SqlState = _
22009
sourcepub const INVALID_USE_OF_ESCAPE_CHARACTER: SqlState = _
pub const INVALID_USE_OF_ESCAPE_CHARACTER: SqlState = _
2200C
sourcepub const MOST_SPECIFIC_TYPE_MISMATCH: SqlState = _
pub const MOST_SPECIFIC_TYPE_MISMATCH: SqlState = _
2200G
sourcepub const NULL_VALUE_NOT_ALLOWED: SqlState = _
pub const NULL_VALUE_NOT_ALLOWED: SqlState = _
22004
sourcepub const NULL_VALUE_NO_INDICATOR_PARAMETER: SqlState = _
pub const NULL_VALUE_NO_INDICATOR_PARAMETER: SqlState = _
22002
sourcepub const NUMERIC_VALUE_OUT_OF_RANGE: SqlState = _
pub const NUMERIC_VALUE_OUT_OF_RANGE: SqlState = _
22003
sourcepub const SEQUENCE_GENERATOR_LIMIT_EXCEEDED: SqlState = _
pub const SEQUENCE_GENERATOR_LIMIT_EXCEEDED: SqlState = _
2200H
sourcepub const STRING_DATA_LENGTH_MISMATCH: SqlState = _
pub const STRING_DATA_LENGTH_MISMATCH: SqlState = _
22026
sourcepub const STRING_DATA_RIGHT_TRUNCATION: SqlState = _
pub const STRING_DATA_RIGHT_TRUNCATION: SqlState = _
22001
sourcepub const SUBSTRING_ERROR: SqlState = _
pub const SUBSTRING_ERROR: SqlState = _
22011
sourcepub const TRIM_ERROR: SqlState = _
pub const TRIM_ERROR: SqlState = _
22027
sourcepub const UNTERMINATED_C_STRING: SqlState = _
pub const UNTERMINATED_C_STRING: SqlState = _
22024
sourcepub const ZERO_LENGTH_CHARACTER_STRING: SqlState = _
pub const ZERO_LENGTH_CHARACTER_STRING: SqlState = _
2200F
sourcepub const FLOATING_POINT_EXCEPTION: SqlState = _
pub const FLOATING_POINT_EXCEPTION: SqlState = _
22P01
sourcepub const INVALID_TEXT_REPRESENTATION: SqlState = _
pub const INVALID_TEXT_REPRESENTATION: SqlState = _
22P02
sourcepub const INVALID_BINARY_REPRESENTATION: SqlState = _
pub const INVALID_BINARY_REPRESENTATION: SqlState = _
22P03
sourcepub const BAD_COPY_FILE_FORMAT: SqlState = _
pub const BAD_COPY_FILE_FORMAT: SqlState = _
22P04
sourcepub const UNTRANSLATABLE_CHARACTER: SqlState = _
pub const UNTRANSLATABLE_CHARACTER: SqlState = _
22P05
sourcepub const NOT_AN_XML_DOCUMENT: SqlState = _
pub const NOT_AN_XML_DOCUMENT: SqlState = _
2200L
sourcepub const INVALID_XML_DOCUMENT: SqlState = _
pub const INVALID_XML_DOCUMENT: SqlState = _
2200M
sourcepub const INVALID_XML_CONTENT: SqlState = _
pub const INVALID_XML_CONTENT: SqlState = _
2200N
sourcepub const INVALID_XML_COMMENT: SqlState = _
pub const INVALID_XML_COMMENT: SqlState = _
2200S
sourcepub const INVALID_XML_PROCESSING_INSTRUCTION: SqlState = _
pub const INVALID_XML_PROCESSING_INSTRUCTION: SqlState = _
2200T
sourcepub const DUPLICATE_JSON_OBJECT_KEY_VALUE: SqlState = _
pub const DUPLICATE_JSON_OBJECT_KEY_VALUE: SqlState = _
22030
sourcepub const INVALID_ARGUMENT_FOR_SQL_JSON_DATETIME_FUNCTION: SqlState = _
pub const INVALID_ARGUMENT_FOR_SQL_JSON_DATETIME_FUNCTION: SqlState = _
22031
sourcepub const INVALID_JSON_TEXT: SqlState = _
pub const INVALID_JSON_TEXT: SqlState = _
22032
sourcepub const INVALID_SQL_JSON_SUBSCRIPT: SqlState = _
pub const INVALID_SQL_JSON_SUBSCRIPT: SqlState = _
22033
sourcepub const MORE_THAN_ONE_SQL_JSON_ITEM: SqlState = _
pub const MORE_THAN_ONE_SQL_JSON_ITEM: SqlState = _
22034
sourcepub const NO_SQL_JSON_ITEM: SqlState = _
pub const NO_SQL_JSON_ITEM: SqlState = _
22035
sourcepub const NON_NUMERIC_SQL_JSON_ITEM: SqlState = _
pub const NON_NUMERIC_SQL_JSON_ITEM: SqlState = _
22036
sourcepub const NON_UNIQUE_KEYS_IN_A_JSON_OBJECT: SqlState = _
pub const NON_UNIQUE_KEYS_IN_A_JSON_OBJECT: SqlState = _
22037
sourcepub const SINGLETON_SQL_JSON_ITEM_REQUIRED: SqlState = _
pub const SINGLETON_SQL_JSON_ITEM_REQUIRED: SqlState = _
22038
sourcepub const SQL_JSON_ARRAY_NOT_FOUND: SqlState = _
pub const SQL_JSON_ARRAY_NOT_FOUND: SqlState = _
22039
sourcepub const SQL_JSON_MEMBER_NOT_FOUND: SqlState = _
pub const SQL_JSON_MEMBER_NOT_FOUND: SqlState = _
2203A
sourcepub const SQL_JSON_NUMBER_NOT_FOUND: SqlState = _
pub const SQL_JSON_NUMBER_NOT_FOUND: SqlState = _
2203B
sourcepub const SQL_JSON_OBJECT_NOT_FOUND: SqlState = _
pub const SQL_JSON_OBJECT_NOT_FOUND: SqlState = _
2203C
sourcepub const TOO_MANY_JSON_ARRAY_ELEMENTS: SqlState = _
pub const TOO_MANY_JSON_ARRAY_ELEMENTS: SqlState = _
2203D
sourcepub const TOO_MANY_JSON_OBJECT_MEMBERS: SqlState = _
pub const TOO_MANY_JSON_OBJECT_MEMBERS: SqlState = _
2203E
sourcepub const SQL_JSON_SCALAR_REQUIRED: SqlState = _
pub const SQL_JSON_SCALAR_REQUIRED: SqlState = _
2203F
sourcepub const SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE: SqlState = _
pub const SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE: SqlState = _
2203G
sourcepub const INTEGRITY_CONSTRAINT_VIOLATION: SqlState = _
pub const INTEGRITY_CONSTRAINT_VIOLATION: SqlState = _
23000
sourcepub const RESTRICT_VIOLATION: SqlState = _
pub const RESTRICT_VIOLATION: SqlState = _
23001
sourcepub const NOT_NULL_VIOLATION: SqlState = _
pub const NOT_NULL_VIOLATION: SqlState = _
23502
sourcepub const FOREIGN_KEY_VIOLATION: SqlState = _
pub const FOREIGN_KEY_VIOLATION: SqlState = _
23503
sourcepub const UNIQUE_VIOLATION: SqlState = _
pub const UNIQUE_VIOLATION: SqlState = _
23505
sourcepub const CHECK_VIOLATION: SqlState = _
pub const CHECK_VIOLATION: SqlState = _
23514
sourcepub const EXCLUSION_VIOLATION: SqlState = _
pub const EXCLUSION_VIOLATION: SqlState = _
23P01
sourcepub const INVALID_CURSOR_STATE: SqlState = _
pub const INVALID_CURSOR_STATE: SqlState = _
24000
sourcepub const INVALID_TRANSACTION_STATE: SqlState = _
pub const INVALID_TRANSACTION_STATE: SqlState = _
25000
sourcepub const ACTIVE_SQL_TRANSACTION: SqlState = _
pub const ACTIVE_SQL_TRANSACTION: SqlState = _
25001
sourcepub const BRANCH_TRANSACTION_ALREADY_ACTIVE: SqlState = _
pub const BRANCH_TRANSACTION_ALREADY_ACTIVE: SqlState = _
25002
sourcepub const HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL: SqlState = _
pub const HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL: SqlState = _
25008
sourcepub const INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION: SqlState = _
pub const INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION: SqlState = _
25003
sourcepub const INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION: SqlState = _
pub const INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION: SqlState = _
25004
sourcepub const NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION: SqlState = _
pub const NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION: SqlState = _
25005
sourcepub const READ_ONLY_SQL_TRANSACTION: SqlState = _
pub const READ_ONLY_SQL_TRANSACTION: SqlState = _
25006
sourcepub const SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED: SqlState = _
pub const SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED: SqlState = _
25007
sourcepub const NO_ACTIVE_SQL_TRANSACTION: SqlState = _
pub const NO_ACTIVE_SQL_TRANSACTION: SqlState = _
25P01
sourcepub const IN_FAILED_SQL_TRANSACTION: SqlState = _
pub const IN_FAILED_SQL_TRANSACTION: SqlState = _
25P02
sourcepub const IDLE_IN_TRANSACTION_SESSION_TIMEOUT: SqlState = _
pub const IDLE_IN_TRANSACTION_SESSION_TIMEOUT: SqlState = _
25P03
sourcepub const INVALID_SQL_STATEMENT_NAME: SqlState = _
pub const INVALID_SQL_STATEMENT_NAME: SqlState = _
26000
sourcepub const UNDEFINED_PSTATEMENT: SqlState = _
pub const UNDEFINED_PSTATEMENT: SqlState = _
26000
sourcepub const TRIGGERED_DATA_CHANGE_VIOLATION: SqlState = _
pub const TRIGGERED_DATA_CHANGE_VIOLATION: SqlState = _
27000
sourcepub const INVALID_AUTHORIZATION_SPECIFICATION: SqlState = _
pub const INVALID_AUTHORIZATION_SPECIFICATION: SqlState = _
28000
sourcepub const INVALID_PASSWORD: SqlState = _
pub const INVALID_PASSWORD: SqlState = _
28P01
sourcepub const DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST: SqlState = _
pub const DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST: SqlState = _
2B000
sourcepub const DEPENDENT_OBJECTS_STILL_EXIST: SqlState = _
pub const DEPENDENT_OBJECTS_STILL_EXIST: SqlState = _
2BP01
sourcepub const INVALID_TRANSACTION_TERMINATION: SqlState = _
pub const INVALID_TRANSACTION_TERMINATION: SqlState = _
2D000
sourcepub const SQL_ROUTINE_EXCEPTION: SqlState = _
pub const SQL_ROUTINE_EXCEPTION: SqlState = _
2F000
sourcepub const S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT: SqlState = _
pub const S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT: SqlState = _
2F005
sourcepub const S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: SqlState = _
pub const S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: SqlState = _
2F002
sourcepub const S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: SqlState = _
pub const S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: SqlState = _
2F003
sourcepub const S_R_E_READING_SQL_DATA_NOT_PERMITTED: SqlState = _
pub const S_R_E_READING_SQL_DATA_NOT_PERMITTED: SqlState = _
2F004
sourcepub const INVALID_CURSOR_NAME: SqlState = _
pub const INVALID_CURSOR_NAME: SqlState = _
34000
sourcepub const UNDEFINED_CURSOR: SqlState = _
pub const UNDEFINED_CURSOR: SqlState = _
34000
sourcepub const EXTERNAL_ROUTINE_EXCEPTION: SqlState = _
pub const EXTERNAL_ROUTINE_EXCEPTION: SqlState = _
38000
sourcepub const E_R_E_CONTAINING_SQL_NOT_PERMITTED: SqlState = _
pub const E_R_E_CONTAINING_SQL_NOT_PERMITTED: SqlState = _
38001
sourcepub const E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: SqlState = _
pub const E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED: SqlState = _
38002
sourcepub const E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: SqlState = _
pub const E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED: SqlState = _
38003
sourcepub const E_R_E_READING_SQL_DATA_NOT_PERMITTED: SqlState = _
pub const E_R_E_READING_SQL_DATA_NOT_PERMITTED: SqlState = _
38004
sourcepub const EXTERNAL_ROUTINE_INVOCATION_EXCEPTION: SqlState = _
pub const EXTERNAL_ROUTINE_INVOCATION_EXCEPTION: SqlState = _
39000
sourcepub const E_R_I_E_INVALID_SQLSTATE_RETURNED: SqlState = _
pub const E_R_I_E_INVALID_SQLSTATE_RETURNED: SqlState = _
39001
sourcepub const E_R_I_E_NULL_VALUE_NOT_ALLOWED: SqlState = _
pub const E_R_I_E_NULL_VALUE_NOT_ALLOWED: SqlState = _
39004
sourcepub const E_R_I_E_TRIGGER_PROTOCOL_VIOLATED: SqlState = _
pub const E_R_I_E_TRIGGER_PROTOCOL_VIOLATED: SqlState = _
39P01
sourcepub const E_R_I_E_SRF_PROTOCOL_VIOLATED: SqlState = _
pub const E_R_I_E_SRF_PROTOCOL_VIOLATED: SqlState = _
39P02
sourcepub const E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED: SqlState = _
pub const E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED: SqlState = _
39P03
sourcepub const SAVEPOINT_EXCEPTION: SqlState = _
pub const SAVEPOINT_EXCEPTION: SqlState = _
3B000
sourcepub const S_E_INVALID_SPECIFICATION: SqlState = _
pub const S_E_INVALID_SPECIFICATION: SqlState = _
3B001
sourcepub const INVALID_CATALOG_NAME: SqlState = _
pub const INVALID_CATALOG_NAME: SqlState = _
3D000
sourcepub const UNDEFINED_DATABASE: SqlState = _
pub const UNDEFINED_DATABASE: SqlState = _
3D000
sourcepub const INVALID_SCHEMA_NAME: SqlState = _
pub const INVALID_SCHEMA_NAME: SqlState = _
3F000
sourcepub const UNDEFINED_SCHEMA: SqlState = _
pub const UNDEFINED_SCHEMA: SqlState = _
3F000
sourcepub const TRANSACTION_ROLLBACK: SqlState = _
pub const TRANSACTION_ROLLBACK: SqlState = _
40000
sourcepub const T_R_INTEGRITY_CONSTRAINT_VIOLATION: SqlState = _
pub const T_R_INTEGRITY_CONSTRAINT_VIOLATION: SqlState = _
40002
sourcepub const T_R_SERIALIZATION_FAILURE: SqlState = _
pub const T_R_SERIALIZATION_FAILURE: SqlState = _
40001
sourcepub const T_R_STATEMENT_COMPLETION_UNKNOWN: SqlState = _
pub const T_R_STATEMENT_COMPLETION_UNKNOWN: SqlState = _
40003
sourcepub const T_R_DEADLOCK_DETECTED: SqlState = _
pub const T_R_DEADLOCK_DETECTED: SqlState = _
40P01
sourcepub const SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION: SqlState = _
pub const SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION: SqlState = _
42000
sourcepub const SYNTAX_ERROR: SqlState = _
pub const SYNTAX_ERROR: SqlState = _
42601
sourcepub const INSUFFICIENT_PRIVILEGE: SqlState = _
pub const INSUFFICIENT_PRIVILEGE: SqlState = _
42501
sourcepub const CANNOT_COERCE: SqlState = _
pub const CANNOT_COERCE: SqlState = _
42846
sourcepub const GROUPING_ERROR: SqlState = _
pub const GROUPING_ERROR: SqlState = _
42803
sourcepub const WINDOWING_ERROR: SqlState = _
pub const WINDOWING_ERROR: SqlState = _
42P20
sourcepub const INVALID_RECURSION: SqlState = _
pub const INVALID_RECURSION: SqlState = _
42P19
sourcepub const INVALID_FOREIGN_KEY: SqlState = _
pub const INVALID_FOREIGN_KEY: SqlState = _
42830
sourcepub const INVALID_NAME: SqlState = _
pub const INVALID_NAME: SqlState = _
42602
sourcepub const NAME_TOO_LONG: SqlState = _
pub const NAME_TOO_LONG: SqlState = _
42622
sourcepub const RESERVED_NAME: SqlState = _
pub const RESERVED_NAME: SqlState = _
42939
sourcepub const DATATYPE_MISMATCH: SqlState = _
pub const DATATYPE_MISMATCH: SqlState = _
42804
sourcepub const INDETERMINATE_DATATYPE: SqlState = _
pub const INDETERMINATE_DATATYPE: SqlState = _
42P18
sourcepub const COLLATION_MISMATCH: SqlState = _
pub const COLLATION_MISMATCH: SqlState = _
42P21
sourcepub const INDETERMINATE_COLLATION: SqlState = _
pub const INDETERMINATE_COLLATION: SqlState = _
42P22
sourcepub const WRONG_OBJECT_TYPE: SqlState = _
pub const WRONG_OBJECT_TYPE: SqlState = _
42809
sourcepub const GENERATED_ALWAYS: SqlState = _
pub const GENERATED_ALWAYS: SqlState = _
428C9
sourcepub const UNDEFINED_COLUMN: SqlState = _
pub const UNDEFINED_COLUMN: SqlState = _
42703
sourcepub const UNDEFINED_FUNCTION: SqlState = _
pub const UNDEFINED_FUNCTION: SqlState = _
42883
sourcepub const UNDEFINED_TABLE: SqlState = _
pub const UNDEFINED_TABLE: SqlState = _
42P01
sourcepub const UNDEFINED_PARAMETER: SqlState = _
pub const UNDEFINED_PARAMETER: SqlState = _
42P02
sourcepub const UNDEFINED_OBJECT: SqlState = _
pub const UNDEFINED_OBJECT: SqlState = _
42704
sourcepub const DUPLICATE_COLUMN: SqlState = _
pub const DUPLICATE_COLUMN: SqlState = _
42701
sourcepub const DUPLICATE_CURSOR: SqlState = _
pub const DUPLICATE_CURSOR: SqlState = _
42P03
sourcepub const DUPLICATE_DATABASE: SqlState = _
pub const DUPLICATE_DATABASE: SqlState = _
42P04
sourcepub const DUPLICATE_FUNCTION: SqlState = _
pub const DUPLICATE_FUNCTION: SqlState = _
42723
sourcepub const DUPLICATE_PSTATEMENT: SqlState = _
pub const DUPLICATE_PSTATEMENT: SqlState = _
42P05
sourcepub const DUPLICATE_SCHEMA: SqlState = _
pub const DUPLICATE_SCHEMA: SqlState = _
42P06
sourcepub const DUPLICATE_TABLE: SqlState = _
pub const DUPLICATE_TABLE: SqlState = _
42P07
sourcepub const DUPLICATE_ALIAS: SqlState = _
pub const DUPLICATE_ALIAS: SqlState = _
42712
sourcepub const DUPLICATE_OBJECT: SqlState = _
pub const DUPLICATE_OBJECT: SqlState = _
42710
sourcepub const AMBIGUOUS_COLUMN: SqlState = _
pub const AMBIGUOUS_COLUMN: SqlState = _
42702
sourcepub const AMBIGUOUS_FUNCTION: SqlState = _
pub const AMBIGUOUS_FUNCTION: SqlState = _
42725
sourcepub const AMBIGUOUS_PARAMETER: SqlState = _
pub const AMBIGUOUS_PARAMETER: SqlState = _
42P08
sourcepub const AMBIGUOUS_ALIAS: SqlState = _
pub const AMBIGUOUS_ALIAS: SqlState = _
42P09
sourcepub const INVALID_COLUMN_REFERENCE: SqlState = _
pub const INVALID_COLUMN_REFERENCE: SqlState = _
42P10
sourcepub const INVALID_COLUMN_DEFINITION: SqlState = _
pub const INVALID_COLUMN_DEFINITION: SqlState = _
42611
sourcepub const INVALID_CURSOR_DEFINITION: SqlState = _
pub const INVALID_CURSOR_DEFINITION: SqlState = _
42P11
sourcepub const INVALID_DATABASE_DEFINITION: SqlState = _
pub const INVALID_DATABASE_DEFINITION: SqlState = _
42P12
sourcepub const INVALID_FUNCTION_DEFINITION: SqlState = _
pub const INVALID_FUNCTION_DEFINITION: SqlState = _
42P13
sourcepub const INVALID_PSTATEMENT_DEFINITION: SqlState = _
pub const INVALID_PSTATEMENT_DEFINITION: SqlState = _
42P14
sourcepub const INVALID_SCHEMA_DEFINITION: SqlState = _
pub const INVALID_SCHEMA_DEFINITION: SqlState = _
42P15
sourcepub const INVALID_TABLE_DEFINITION: SqlState = _
pub const INVALID_TABLE_DEFINITION: SqlState = _
42P16
sourcepub const INVALID_OBJECT_DEFINITION: SqlState = _
pub const INVALID_OBJECT_DEFINITION: SqlState = _
42P17
sourcepub const WITH_CHECK_OPTION_VIOLATION: SqlState = _
pub const WITH_CHECK_OPTION_VIOLATION: SqlState = _
44000
sourcepub const INSUFFICIENT_RESOURCES: SqlState = _
pub const INSUFFICIENT_RESOURCES: SqlState = _
53000
sourcepub const OUT_OF_MEMORY: SqlState = _
pub const OUT_OF_MEMORY: SqlState = _
53200
sourcepub const TOO_MANY_CONNECTIONS: SqlState = _
pub const TOO_MANY_CONNECTIONS: SqlState = _
53300
sourcepub const CONFIGURATION_LIMIT_EXCEEDED: SqlState = _
pub const CONFIGURATION_LIMIT_EXCEEDED: SqlState = _
53400
sourcepub const PROGRAM_LIMIT_EXCEEDED: SqlState = _
pub const PROGRAM_LIMIT_EXCEEDED: SqlState = _
54000
sourcepub const STATEMENT_TOO_COMPLEX: SqlState = _
pub const STATEMENT_TOO_COMPLEX: SqlState = _
54001
sourcepub const TOO_MANY_COLUMNS: SqlState = _
pub const TOO_MANY_COLUMNS: SqlState = _
54011
sourcepub const TOO_MANY_ARGUMENTS: SqlState = _
pub const TOO_MANY_ARGUMENTS: SqlState = _
54023
sourcepub const OBJECT_NOT_IN_PREREQUISITE_STATE: SqlState = _
pub const OBJECT_NOT_IN_PREREQUISITE_STATE: SqlState = _
55000
sourcepub const OBJECT_IN_USE: SqlState = _
pub const OBJECT_IN_USE: SqlState = _
55006
sourcepub const CANT_CHANGE_RUNTIME_PARAM: SqlState = _
pub const CANT_CHANGE_RUNTIME_PARAM: SqlState = _
55P02
sourcepub const LOCK_NOT_AVAILABLE: SqlState = _
pub const LOCK_NOT_AVAILABLE: SqlState = _
55P03
sourcepub const UNSAFE_NEW_ENUM_VALUE_USAGE: SqlState = _
pub const UNSAFE_NEW_ENUM_VALUE_USAGE: SqlState = _
55P04
sourcepub const OPERATOR_INTERVENTION: SqlState = _
pub const OPERATOR_INTERVENTION: SqlState = _
57000
sourcepub const QUERY_CANCELED: SqlState = _
pub const QUERY_CANCELED: SqlState = _
57014
sourcepub const ADMIN_SHUTDOWN: SqlState = _
pub const ADMIN_SHUTDOWN: SqlState = _
57P01
sourcepub const CRASH_SHUTDOWN: SqlState = _
pub const CRASH_SHUTDOWN: SqlState = _
57P02
sourcepub const CANNOT_CONNECT_NOW: SqlState = _
pub const CANNOT_CONNECT_NOW: SqlState = _
57P03
sourcepub const DATABASE_DROPPED: SqlState = _
pub const DATABASE_DROPPED: SqlState = _
57P04
sourcepub const IDLE_SESSION_TIMEOUT: SqlState = _
pub const IDLE_SESSION_TIMEOUT: SqlState = _
57P05
sourcepub const SYSTEM_ERROR: SqlState = _
pub const SYSTEM_ERROR: SqlState = _
58000
sourcepub const UNDEFINED_FILE: SqlState = _
pub const UNDEFINED_FILE: SqlState = _
58P01
sourcepub const DUPLICATE_FILE: SqlState = _
pub const DUPLICATE_FILE: SqlState = _
58P02
sourcepub const SNAPSHOT_TOO_OLD: SqlState = _
pub const SNAPSHOT_TOO_OLD: SqlState = _
72000
sourcepub const CONFIG_FILE_ERROR: SqlState = _
pub const CONFIG_FILE_ERROR: SqlState = _
F0000
sourcepub const LOCK_FILE_EXISTS: SqlState = _
pub const LOCK_FILE_EXISTS: SqlState = _
F0001
sourcepub const FDW_COLUMN_NAME_NOT_FOUND: SqlState = _
pub const FDW_COLUMN_NAME_NOT_FOUND: SqlState = _
HV005
sourcepub const FDW_DYNAMIC_PARAMETER_VALUE_NEEDED: SqlState = _
pub const FDW_DYNAMIC_PARAMETER_VALUE_NEEDED: SqlState = _
HV002
sourcepub const FDW_FUNCTION_SEQUENCE_ERROR: SqlState = _
pub const FDW_FUNCTION_SEQUENCE_ERROR: SqlState = _
HV010
sourcepub const FDW_INCONSISTENT_DESCRIPTOR_INFORMATION: SqlState = _
pub const FDW_INCONSISTENT_DESCRIPTOR_INFORMATION: SqlState = _
HV021
sourcepub const FDW_INVALID_ATTRIBUTE_VALUE: SqlState = _
pub const FDW_INVALID_ATTRIBUTE_VALUE: SqlState = _
HV024
sourcepub const FDW_INVALID_COLUMN_NAME: SqlState = _
pub const FDW_INVALID_COLUMN_NAME: SqlState = _
HV007
sourcepub const FDW_INVALID_COLUMN_NUMBER: SqlState = _
pub const FDW_INVALID_COLUMN_NUMBER: SqlState = _
HV008
sourcepub const FDW_INVALID_DATA_TYPE: SqlState = _
pub const FDW_INVALID_DATA_TYPE: SqlState = _
HV004
sourcepub const FDW_INVALID_DATA_TYPE_DESCRIPTORS: SqlState = _
pub const FDW_INVALID_DATA_TYPE_DESCRIPTORS: SqlState = _
HV006
sourcepub const FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER: SqlState = _
pub const FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER: SqlState = _
HV091
sourcepub const FDW_INVALID_HANDLE: SqlState = _
pub const FDW_INVALID_HANDLE: SqlState = _
HV00B
sourcepub const FDW_INVALID_OPTION_INDEX: SqlState = _
pub const FDW_INVALID_OPTION_INDEX: SqlState = _
HV00C
sourcepub const FDW_INVALID_OPTION_NAME: SqlState = _
pub const FDW_INVALID_OPTION_NAME: SqlState = _
HV00D
sourcepub const FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH: SqlState = _
pub const FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH: SqlState = _
HV090
sourcepub const FDW_INVALID_STRING_FORMAT: SqlState = _
pub const FDW_INVALID_STRING_FORMAT: SqlState = _
HV00A
sourcepub const FDW_INVALID_USE_OF_NULL_POINTER: SqlState = _
pub const FDW_INVALID_USE_OF_NULL_POINTER: SqlState = _
HV009
sourcepub const FDW_TOO_MANY_HANDLES: SqlState = _
pub const FDW_TOO_MANY_HANDLES: SqlState = _
HV014
sourcepub const FDW_OUT_OF_MEMORY: SqlState = _
pub const FDW_OUT_OF_MEMORY: SqlState = _
HV001
sourcepub const FDW_NO_SCHEMAS: SqlState = _
pub const FDW_NO_SCHEMAS: SqlState = _
HV00P
sourcepub const FDW_OPTION_NAME_NOT_FOUND: SqlState = _
pub const FDW_OPTION_NAME_NOT_FOUND: SqlState = _
HV00J
sourcepub const FDW_REPLY_HANDLE: SqlState = _
pub const FDW_REPLY_HANDLE: SqlState = _
HV00K
sourcepub const FDW_SCHEMA_NOT_FOUND: SqlState = _
pub const FDW_SCHEMA_NOT_FOUND: SqlState = _
HV00Q
sourcepub const FDW_TABLE_NOT_FOUND: SqlState = _
pub const FDW_TABLE_NOT_FOUND: SqlState = _
HV00R
sourcepub const FDW_UNABLE_TO_CREATE_EXECUTION: SqlState = _
pub const FDW_UNABLE_TO_CREATE_EXECUTION: SqlState = _
HV00L
sourcepub const FDW_UNABLE_TO_CREATE_REPLY: SqlState = _
pub const FDW_UNABLE_TO_CREATE_REPLY: SqlState = _
HV00M
sourcepub const FDW_UNABLE_TO_ESTABLISH_CONNECTION: SqlState = _
pub const FDW_UNABLE_TO_ESTABLISH_CONNECTION: SqlState = _
HV00N
sourcepub const PLPGSQL_ERROR: SqlState = _
pub const PLPGSQL_ERROR: SqlState = _
P0000
sourcepub const RAISE_EXCEPTION: SqlState = _
pub const RAISE_EXCEPTION: SqlState = _
P0001
sourcepub const NO_DATA_FOUND: SqlState = _
pub const NO_DATA_FOUND: SqlState = _
P0002
sourcepub const TOO_MANY_ROWS: SqlState = _
pub const TOO_MANY_ROWS: SqlState = _
P0003
sourcepub const ASSERT_FAILURE: SqlState = _
pub const ASSERT_FAILURE: SqlState = _
P0004
sourcepub const INTERNAL_ERROR: SqlState = _
pub const INTERNAL_ERROR: SqlState = _
XX000
sourcepub const DATA_CORRUPTED: SqlState = _
pub const DATA_CORRUPTED: SqlState = _
XX001
sourcepub const INDEX_CORRUPTED: SqlState = _
pub const INDEX_CORRUPTED: SqlState = _
XX002
Trait Implementations§
impl Eq for SqlState
impl StructuralPartialEq for SqlState
Auto Trait Implementations§
impl Freeze for SqlState
impl RefUnwindSafe for SqlState
impl Send for SqlState
impl Sync for SqlState
impl Unpin for SqlState
impl UnwindSafe for SqlState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)