From b55c2ea3c499e2d607d20e35cca72c51d9f02e77 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 4 Jan 2019 16:57:15 -0800 Subject: [PATCH] Regenerate phf map for new release --- tokio-postgres/src/error/sqlstate.rs | 562 +++++++++++++-------------- 1 file changed, 281 insertions(+), 281 deletions(-) diff --git a/tokio-postgres/src/error/sqlstate.rs b/tokio-postgres/src/error/sqlstate.rs index dc33991f..27ee6353 100644 --- a/tokio-postgres/src/error/sqlstate.rs +++ b/tokio-postgres/src/error/sqlstate.rs @@ -777,299 +777,299 @@ impl SqlState { } #[cfg_attr(rustfmt, rustfmt_skip)] static SQLSTATE_MAP: phf::Map<&'static str, SqlState> = ::phf::Map { - key: 6246114685207409605, + key: 3213172566270843353, disps: ::phf::Slice::Static(&[ - (1, 77), - (0, 21), + (1, 16), + (1, 97), + (0, 146), + (0, 0), + (1, 0), + (0, 217), + (3, 134), + (0, 2), (0, 6), - (0, 13), - (0, 28), - (0, 30), - (0, 1), - (0, 47), + (0, 32), + (1, 99), + (1, 227), + (0, 6), + (0, 163), + (0, 89), (0, 5), - (0, 5), - (0, 52), - (0, 96), - (0, 66), - (3, 167), - (0, 10), - (0, 56), - (2, 159), - (0, 28), + (0, 3), + (0, 200), + (4, 99), + (0, 32), + (0, 19), + (0, 82), + (0, 54), + (1, 126), (0, 11), - (0, 6), - (0, 0), - (1, 188), - (7, 122), - (2, 32), - (1, 6), - (1, 142), - (1, 0), - (1, 71), - (2, 35), - (0, 1), - (0, 68), - (0, 66), - (5, 43), - (0, 0), - (1, 0), - (2, 123), + (0, 83), + (6, 102), + (0, 67), + (4, 162), + (0, 13), + (0, 116), + (11, 57), + (0, 210), + (0, 4), + (4, 127), + (1, 133), + (1, 158), + (0, 180), + (2, 201), + (0, 148), + (4, 135), + (0, 5), (1, 1), - (0, 31), - (3, 7), - (3, 172), - (0, 35), - (0, 107), - (0, 106), - (0, 102), - (17, 207), - (6, 8), - (0, 105), - (26, 87), - (0, 21), + (0, 0), + (0, 191), + (0, 171), + (7, 38), + (0, 0), + (0, 0), ]), entries: ::phf::Slice::Static(&[ - ("42P16", SqlState::INVALID_TABLE_DEFINITION), - ("428C9", SqlState::GENERATED_ALWAYS), - ("22015", SqlState::INTERVAL_FIELD_OVERFLOW), + ("22022", SqlState::INDICATOR_OVERFLOW), + ("3B000", SqlState::SAVEPOINT_EXCEPTION), + ("54023", SqlState::TOO_MANY_ARGUMENTS), + ("25P02", SqlState::IN_FAILED_SQL_TRANSACTION), + ("38002", SqlState::E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED), + ("02001", SqlState::NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED), + ("72000", SqlState::SNAPSHOT_TOO_OLD), ("42622", SqlState::NAME_TOO_LONG), - ("42804", SqlState::DATATYPE_MISMATCH), - ("22003", SqlState::NUMERIC_VALUE_OUT_OF_RANGE), - ("22000", SqlState::DATA_EXCEPTION), - ("22004", SqlState::NULL_VALUE_NOT_ALLOWED), - ("22P05", SqlState::UNTRANSLATABLE_CHARACTER), - ("22016", SqlState::INVALID_ARGUMENT_FOR_NTH_VALUE), - ("2201B", SqlState::INVALID_REGULAR_EXPRESSION), - ("HV001", SqlState::FDW_OUT_OF_MEMORY), - ("42704", SqlState::UNDEFINED_OBJECT), - ("42703", SqlState::UNDEFINED_COLUMN), - ("53300", SqlState::TOO_MANY_CONNECTIONS), - ("23505", SqlState::UNIQUE_VIOLATION), - ("42712", SqlState::DUPLICATE_ALIAS), - ("22008", SqlState::DATETIME_FIELD_OVERFLOW), + ("42P19", SqlState::INVALID_RECURSION), + ("F0000", SqlState::CONFIG_FILE_ERROR), + ("HV014", SqlState::FDW_TOO_MANY_HANDLES), + ("2BP01", SqlState::DEPENDENT_OBJECTS_STILL_EXIST), + ("HV00C", SqlState::FDW_INVALID_OPTION_INDEX), + ("01P01", SqlState::WARNING_DEPRECATED_FEATURE), + ("03000", SqlState::SQL_STATEMENT_NOT_YET_COMPLETE), + ("HV090", SqlState::FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH), + ("3F000", SqlState::INVALID_SCHEMA_NAME), + ("42000", SqlState::SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION), + ("22P02", SqlState::INVALID_TEXT_REPRESENTATION), + ("08000", SqlState::CONNECTION_EXCEPTION), + ("38000", SqlState::EXTERNAL_ROUTINE_EXCEPTION), + ("39001", SqlState::E_R_I_E_INVALID_SQLSTATE_RETURNED), + ("HV009", SqlState::FDW_INVALID_USE_OF_NULL_POINTER), + ("53200", SqlState::OUT_OF_MEMORY), + ("22P01", SqlState::FLOATING_POINT_EXCEPTION), + ("3D000", SqlState::INVALID_CATALOG_NAME), + ("42702", SqlState::AMBIGUOUS_COLUMN), + ("2201G", SqlState::INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION), + ("08006", SqlState::CONNECTION_FAILURE), + ("25003", SqlState::INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION), + ("P0004", SqlState::ASSERT_FAILURE), + ("0B000", SqlState::INVALID_TRANSACTION_INITIATION), + ("57014", SqlState::QUERY_CANCELED), + ("57P01", SqlState::ADMIN_SHUTDOWN), + ("22025", SqlState::INVALID_ESCAPE_SEQUENCE), + ("55P04", SqlState::UNSAFE_NEW_ENUM_VALUE_USAGE), + ("54001", SqlState::STATEMENT_TOO_COMPLEX), + ("HV021", SqlState::FDW_INCONSISTENT_DESCRIPTOR_INFORMATION), + ("0L000", SqlState::INVALID_GRANTOR), + ("55P03", SqlState::LOCK_NOT_AVAILABLE), + ("HV00P", SqlState::FDW_NO_SCHEMAS), + ("0LP01", SqlState::INVALID_GRANT_OPERATION), + ("40002", SqlState::T_R_INTEGRITY_CONSTRAINT_VIOLATION), + ("2200B", SqlState::ESCAPE_CHARACTER_CONFLICT), + ("42P02", SqlState::UNDEFINED_PARAMETER), + ("2200D", SqlState::INVALID_ESCAPE_OCTET), + ("25000", SqlState::INVALID_TRANSACTION_STATE), + ("39P01", SqlState::E_R_I_E_TRIGGER_PROTOCOL_VIOLATED), + ("42725", SqlState::AMBIGUOUS_FUNCTION), + ("23000", SqlState::INTEGRITY_CONSTRAINT_VIOLATION), + ("42P09", SqlState::AMBIGUOUS_ALIAS), + ("42939", SqlState::RESERVED_NAME), + ("57P02", SqlState::CRASH_SHUTDOWN), + ("40P01", SqlState::T_R_DEADLOCK_DETECTED), + ("HV00Q", SqlState::FDW_SCHEMA_NOT_FOUND), + ("25P01", SqlState::NO_ACTIVE_SQL_TRANSACTION), + ("55P02", SqlState::CANT_CHANGE_RUNTIME_PARAM), + ("27000", SqlState::TRIGGERED_DATA_CHANGE_VIOLATION), + ("XX002", SqlState::INDEX_CORRUPTED), + ("0Z000", SqlState::DIAGNOSTICS_EXCEPTION), + ("42P08", SqlState::AMBIGUOUS_PARAMETER), + ("42602", SqlState::INVALID_NAME), + ("55006", SqlState::OBJECT_IN_USE), + ("44000", SqlState::WITH_CHECK_OPTION_VIOLATION), + ("0F000", SqlState::LOCATOR_EXCEPTION), + ("02000", SqlState::NO_DATA), + ("22010", SqlState::INVALID_INDICATOR_PARAMETER_VALUE), + ("24000", SqlState::INVALID_CURSOR_STATE), + ("P0002", SqlState::NO_DATA_FOUND), + ("P0003", SqlState::TOO_MANY_ROWS), + ("2201W", SqlState::INVALID_ROW_COUNT_IN_LIMIT_CLAUSE), + ("2200H", SqlState::SEQUENCE_GENERATOR_LIMIT_EXCEEDED), + ("42803", SqlState::GROUPING_ERROR), + ("HV00D", SqlState::FDW_INVALID_OPTION_NAME), + ("HV008", SqlState::FDW_INVALID_COLUMN_NUMBER), + ("HV00M", SqlState::FDW_UNABLE_TO_CREATE_REPLY), + ("2200M", SqlState::INVALID_XML_DOCUMENT), + ("HV00R", SqlState::FDW_TABLE_NOT_FOUND), + ("25001", SqlState::ACTIVE_SQL_TRANSACTION), + ("42P05", SqlState::DUPLICATE_PSTATEMENT), + ("2200G", SqlState::MOST_SPECIFIC_TYPE_MISMATCH), + ("0Z002", SqlState::STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER), + ("40003", SqlState::T_R_STATEMENT_COMPLETION_UNKNOWN), + ("08004", SqlState::SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION), + ("55000", SqlState::OBJECT_NOT_IN_PREREQUISITE_STATE), + ("42883", SqlState::UNDEFINED_FUNCTION), + ("23P01", SqlState::EXCLUSION_VIOLATION), + ("F0001", SqlState::LOCK_FILE_EXISTS), + ("0A000", SqlState::FEATURE_NOT_SUPPORTED), + ("2200C", SqlState::INVALID_USE_OF_ESCAPE_CHARACTER), + ("42846", SqlState::CANNOT_COERCE), + ("HV091", SqlState::FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER), + ("22015", SqlState::INTERVAL_FIELD_OVERFLOW), + ("53100", SqlState::DISK_FULL), + ("39000", SqlState::EXTERNAL_ROUTINE_INVOCATION_EXCEPTION), + ("HV00A", SqlState::FDW_INVALID_STRING_FORMAT), + ("58P02", SqlState::DUPLICATE_FILE), + ("P0001", SqlState::RAISE_EXCEPTION), + ("39004", SqlState::E_R_I_E_NULL_VALUE_NOT_ALLOWED), + ("22P04", SqlState::BAD_COPY_FILE_FORMAT), + ("39P03", SqlState::E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED), + ("25002", SqlState::BRANCH_TRANSACTION_ALREADY_ACTIVE), + ("22024", SqlState::UNTERMINATED_C_STRING), + ("42601", SqlState::SYNTAX_ERROR), ("HV024", SqlState::FDW_INVALID_ATTRIBUTE_VALUE), ("26000", SqlState::INVALID_SQL_STATEMENT_NAME), - ("20000", SqlState::CASE_NOT_FOUND), - ("2200L", SqlState::NOT_AN_XML_DOCUMENT), - ("42939", SqlState::RESERVED_NAME), - ("42P12", SqlState::INVALID_DATABASE_DEFINITION), - ("42P20", SqlState::WINDOWING_ERROR), - ("25003", SqlState::INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION), - ("42P09", SqlState::AMBIGUOUS_ALIAS), - ("HV00B", SqlState::FDW_INVALID_HANDLE), - ("54011", SqlState::TOO_MANY_COLUMNS), - ("42725", SqlState::AMBIGUOUS_FUNCTION), - ("25002", SqlState::BRANCH_TRANSACTION_ALREADY_ACTIVE), - ("42701", SqlState::DUPLICATE_COLUMN), - ("HV009", SqlState::FDW_INVALID_USE_OF_NULL_POINTER), - ("38003", SqlState::E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED), - ("0P000", SqlState::INVALID_ROLE_SPECIFICATION), - ("39004", SqlState::E_R_I_E_NULL_VALUE_NOT_ALLOWED), - ("HV002", SqlState::FDW_DYNAMIC_PARAMETER_VALUE_NEEDED), - ("39P01", SqlState::E_R_I_E_TRIGGER_PROTOCOL_VIOLATED), - ("08003", SqlState::CONNECTION_DOES_NOT_EXIST), - ("22022", SqlState::INDICATOR_OVERFLOW), - ("02001", SqlState::NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED), - ("01008", SqlState::WARNING_IMPLICIT_ZERO_BIT_PADDING), - ("54000", SqlState::PROGRAM_LIMIT_EXCEEDED), - ("22019", SqlState::INVALID_ESCAPE_CHARACTER), - ("42P19", SqlState::INVALID_RECURSION), - ("XX000", SqlState::INTERNAL_ERROR), - ("HV00K", SqlState::FDW_REPLY_HANDLE), - ("25005", SqlState::NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION), - ("HV004", SqlState::FDW_INVALID_DATA_TYPE), - ("24000", SqlState::INVALID_CURSOR_STATE), - ("42P11", SqlState::INVALID_CURSOR_DEFINITION), - ("0100C", SqlState::WARNING_DYNAMIC_RESULT_SETS_RETURNED), - ("HV014", SqlState::FDW_TOO_MANY_HANDLES), - ("0Z000", SqlState::DIAGNOSTICS_EXCEPTION), - ("57P04", SqlState::DATABASE_DROPPED), - ("38002", SqlState::E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED), - ("HV00Q", SqlState::FDW_SCHEMA_NOT_FOUND), - ("22P06", SqlState::NONSTANDARD_USE_OF_ESCAPE_CHARACTER), - ("22011", SqlState::SUBSTRING_ERROR), - ("42P21", SqlState::COLLATION_MISMATCH), - ("0F001", SqlState::L_E_INVALID_SPECIFICATION), - ("23502", SqlState::NOT_NULL_VIOLATION), - ("HV00M", SqlState::FDW_UNABLE_TO_CREATE_REPLY), - ("0L000", SqlState::INVALID_GRANTOR), - ("42809", SqlState::WRONG_OBJECT_TYPE), - ("23503", SqlState::FOREIGN_KEY_VIOLATION), - ("HV021", SqlState::FDW_INCONSISTENT_DESCRIPTOR_INFORMATION), - ("25001", SqlState::ACTIVE_SQL_TRANSACTION), - ("44000", SqlState::WITH_CHECK_OPTION_VIOLATION), - ("42P03", SqlState::DUPLICATE_CURSOR), - ("P0004", SqlState::ASSERT_FAILURE), - ("P0003", SqlState::TOO_MANY_ROWS), - ("2F002", SqlState::S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED), - ("40003", SqlState::T_R_STATEMENT_COMPLETION_UNKNOWN), - ("22014", SqlState::INVALID_ARGUMENT_FOR_NTILE), - ("22010", SqlState::INVALID_INDICATOR_PARAMETER_VALUE), - ("40000", SqlState::TRANSACTION_ROLLBACK), - ("2201G", SqlState::INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION), - ("42000", SqlState::SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION), - ("55P03", SqlState::LOCK_NOT_AVAILABLE), - ("57000", SqlState::OPERATOR_INTERVENTION), - ("42P10", SqlState::INVALID_COLUMN_REFERENCE), - ("HV008", SqlState::FDW_INVALID_COLUMN_NUMBER), - ("22021", SqlState::CHARACTER_NOT_IN_REPERTOIRE), - ("0Z002", SqlState::STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER), - ("39000", SqlState::EXTERNAL_ROUTINE_INVOCATION_EXCEPTION), - ("28000", SqlState::INVALID_AUTHORIZATION_SPECIFICATION), - ("42710", SqlState::DUPLICATE_OBJECT), - ("03000", SqlState::SQL_STATEMENT_NOT_YET_COMPLETE), - ("54023", SqlState::TOO_MANY_ARGUMENTS), - ("72000", SqlState::SNAPSHOT_TOO_OLD), - ("HV00P", SqlState::FDW_NO_SCHEMAS), - ("38001", SqlState::E_R_E_CONTAINING_SQL_NOT_PERMITTED), - ("2200G", SqlState::MOST_SPECIFIC_TYPE_MISMATCH), - ("2201E", SqlState::INVALID_ARGUMENT_FOR_LOG), - ("58000", SqlState::SYSTEM_ERROR), - ("42P07", SqlState::DUPLICATE_TABLE), - ("22025", SqlState::INVALID_ESCAPE_SEQUENCE), - ("2201F", SqlState::INVALID_ARGUMENT_FOR_POWER_FUNCTION), - ("42P22", SqlState::INDETERMINATE_COLLATION), - ("54001", SqlState::STATEMENT_TOO_COMPLEX), - ("HV091", SqlState::FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER), - ("HV090", SqlState::FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH), - ("25P01", SqlState::NO_ACTIVE_SQL_TRANSACTION), - ("22005", SqlState::ERROR_IN_ASSIGNMENT), - ("42P02", SqlState::UNDEFINED_PARAMETER), - ("42P08", SqlState::AMBIGUOUS_PARAMETER), - ("22023", SqlState::INVALID_PARAMETER_VALUE), - ("25007", SqlState::SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED), - ("08P01", SqlState::PROTOCOL_VIOLATION), - ("22P01", SqlState::FLOATING_POINT_EXCEPTION), - ("42P01", SqlState::UNDEFINED_TABLE), - ("P0002", SqlState::NO_DATA_FOUND), - ("2F005", SqlState::S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT), - ("F0001", SqlState::LOCK_FILE_EXISTS), - ("2200D", SqlState::INVALID_ESCAPE_OCTET), - ("22P04", SqlState::BAD_COPY_FILE_FORMAT), - ("2200B", SqlState::ESCAPE_CHARACTER_CONFLICT), - ("P0000", SqlState::PLPGSQL_ERROR), - ("2D000", SqlState::INVALID_TRANSACTION_TERMINATION), - ("01007", SqlState::WARNING_PRIVILEGE_NOT_GRANTED), - ("HV00C", SqlState::FDW_INVALID_OPTION_INDEX), - ("3B000", SqlState::SAVEPOINT_EXCEPTION), - ("40001", SqlState::T_R_SERIALIZATION_FAILURE), - ("42P18", SqlState::INDETERMINATE_DATATYPE), - ("HV00A", SqlState::FDW_INVALID_STRING_FORMAT), - ("XX002", SqlState::INDEX_CORRUPTED), - ("39P02", SqlState::E_R_I_E_SRF_PROTOCOL_VIOLATED), - ("HV00D", SqlState::FDW_INVALID_OPTION_NAME), - ("25000", SqlState::INVALID_TRANSACTION_STATE), - ("0B000", SqlState::INVALID_TRANSACTION_INITIATION), - ("2200T", SqlState::INVALID_XML_PROCESSING_INSTRUCTION), - ("HV00J", SqlState::FDW_OPTION_NAME_NOT_FOUND), - ("HV00R", SqlState::FDW_TABLE_NOT_FOUND), ("2202E", SqlState::ARRAY_ELEMENT_ERROR), - ("22027", SqlState::TRIM_ERROR), - ("22026", SqlState::STRING_DATA_LENGTH_MISMATCH), - ("23514", SqlState::CHECK_VIOLATION), - ("42702", SqlState::AMBIGUOUS_COLUMN), - ("53400", SqlState::CONFIGURATION_LIMIT_EXCEEDED), - ("53000", SqlState::INSUFFICIENT_RESOURCES), - ("HV00N", SqlState::FDW_UNABLE_TO_ESTABLISH_CONNECTION), - ("42P17", SqlState::INVALID_OBJECT_DEFINITION), - ("57P01", SqlState::ADMIN_SHUTDOWN), - ("55P04", SqlState::UNSAFE_NEW_ENUM_VALUE_USAGE), - ("27000", SqlState::TRIGGERED_DATA_CHANGE_VIOLATION), - ("2200N", SqlState::INVALID_XML_CONTENT), - ("23000", SqlState::INTEGRITY_CONSTRAINT_VIOLATION), - ("HV00L", SqlState::FDW_UNABLE_TO_CREATE_EXECUTION), - ("22002", SqlState::NULL_VALUE_NO_INDICATOR_PARAMETER), - ("58P02", SqlState::DUPLICATE_FILE), - ("22018", SqlState::INVALID_CHARACTER_VALUE_FOR_CAST), - ("22009", SqlState::INVALID_TIME_ZONE_DISPLACEMENT_VALUE), - ("2200C", SqlState::INVALID_USE_OF_ESCAPE_CHARACTER), - ("01003", SqlState::WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION), - ("34000", SqlState::INVALID_CURSOR_NAME), - ("F0000", SqlState::CONFIG_FILE_ERROR), - ("28P01", SqlState::INVALID_PASSWORD), - ("08001", SqlState::SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION), - ("57014", SqlState::QUERY_CANCELED), - ("2200M", SqlState::INVALID_XML_DOCUMENT), - ("23P01", SqlState::EXCLUSION_VIOLATION), - ("42602", SqlState::INVALID_NAME), - ("23001", SqlState::RESTRICT_VIOLATION), - ("2201X", SqlState::INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE), - ("39001", SqlState::E_R_I_E_INVALID_SQLSTATE_RETURNED), - ("40002", SqlState::T_R_INTEGRITY_CONSTRAINT_VIOLATION), - ("22P02", SqlState::INVALID_TEXT_REPRESENTATION), - ("HV000", SqlState::FDW_ERROR), - ("42611", SqlState::INVALID_COLUMN_DEFINITION), - ("2200H", SqlState::SEQUENCE_GENERATOR_LIMIT_EXCEEDED), - ("53200", SqlState::OUT_OF_MEMORY), - ("3D000", SqlState::INVALID_CATALOG_NAME), - ("08007", SqlState::TRANSACTION_RESOLUTION_UNKNOWN), - ("2200S", SqlState::INVALID_XML_COMMENT), - ("25006", SqlState::READ_ONLY_SQL_TRANSACTION), - ("0A000", SqlState::FEATURE_NOT_SUPPORTED), - ("00000", SqlState::SUCCESSFUL_COMPLETION), - ("22001", SqlState::STRING_DATA_RIGHT_TRUNCATION), - ("0LP01", SqlState::INVALID_GRANT_OPERATION), - ("22P03", SqlState::INVALID_BINARY_REPRESENTATION), - ("42P06", SqlState::DUPLICATE_SCHEMA), - ("2200F", SqlState::ZERO_LENGTH_CHARACTER_STRING), - ("01004", SqlState::WARNING_STRING_DATA_RIGHT_TRUNCATION), - ("HV010", SqlState::FDW_FUNCTION_SEQUENCE_ERROR), - ("42P05", SqlState::DUPLICATE_PSTATEMENT), - ("2202H", SqlState::INVALID_TABLESAMPLE_ARGUMENT), - ("P0001", SqlState::RAISE_EXCEPTION), - ("58030", SqlState::IO_ERROR), - ("XX001", SqlState::DATA_CORRUPTED), - ("42723", SqlState::DUPLICATE_FUNCTION), - ("2F004", SqlState::S_R_E_READING_SQL_DATA_NOT_PERMITTED), - ("55P02", SqlState::CANT_CHANGE_RUNTIME_PARAM), - ("42P14", SqlState::INVALID_PSTATEMENT_DEFINITION), - ("0F000", SqlState::LOCATOR_EXCEPTION), - ("42P15", SqlState::INVALID_SCHEMA_DEFINITION), - ("42601", SqlState::SYNTAX_ERROR), - ("39P03", SqlState::E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED), - ("53100", SqlState::DISK_FULL), - ("2F000", SqlState::SQL_ROUTINE_EXCEPTION), - ("55006", SqlState::OBJECT_IN_USE), - ("2BP01", SqlState::DEPENDENT_OBJECTS_STILL_EXIST), - ("57P02", SqlState::CRASH_SHUTDOWN), - ("21000", SqlState::CARDINALITY_VIOLATION), - ("25P02", SqlState::IN_FAILED_SQL_TRANSACTION), - ("55000", SqlState::OBJECT_NOT_IN_PREREQUISITE_STATE), - ("42P13", SqlState::INVALID_FUNCTION_DEFINITION), - ("08000", SqlState::CONNECTION_EXCEPTION), - ("25008", SqlState::HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL), - ("38000", SqlState::EXTERNAL_ROUTINE_EXCEPTION), - ("42883", SqlState::UNDEFINED_FUNCTION), - ("2201W", SqlState::INVALID_ROW_COUNT_IN_LIMIT_CLAUSE), - ("25P03", SqlState::IDLE_IN_TRANSACTION_SESSION_TIMEOUT), - ("42P04", SqlState::DUPLICATE_DATABASE), - ("09000", SqlState::TRIGGERED_ACTION_EXCEPTION), - ("22007", SqlState::INVALID_DATETIME_FORMAT), - ("HV006", SqlState::FDW_INVALID_DATA_TYPE_DESCRIPTORS), - ("01006", SqlState::WARNING_PRIVILEGE_NOT_REVOKED), - ("42846", SqlState::CANNOT_COERCE), - ("08006", SqlState::CONNECTION_FAILURE), - ("42830", SqlState::INVALID_FOREIGN_KEY), - ("57P03", SqlState::CANNOT_CONNECT_NOW), - ("HV007", SqlState::FDW_INVALID_COLUMN_NAME), - ("08004", SqlState::SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION), - ("01000", SqlState::WARNING), - ("2202G", SqlState::INVALID_TABLESAMPLE_REPEAT), - ("02000", SqlState::NO_DATA), - ("25004", SqlState::INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION), - ("38004", SqlState::E_R_E_READING_SQL_DATA_NOT_PERMITTED), - ("58P01", SqlState::UNDEFINED_FILE), - ("22012", SqlState::DIVISION_BY_ZERO), - ("01P01", SqlState::WARNING_DEPRECATED_FEATURE), - ("2B000", SqlState::DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST), - ("HV005", SqlState::FDW_COLUMN_NAME_NOT_FOUND), - ("3B001", SqlState::S_E_INVALID_SPECIFICATION), + ("2200T", SqlState::INVALID_XML_PROCESSING_INSTRUCTION), + ("58000", SqlState::SYSTEM_ERROR), ("42501", SqlState::INSUFFICIENT_PRIVILEGE), - ("40P01", SqlState::T_R_DEADLOCK_DETECTED), - ("22024", SqlState::UNTERMINATED_C_STRING), + ("22002", SqlState::NULL_VALUE_NO_INDICATOR_PARAMETER), + ("23514", SqlState::CHECK_VIOLATION), + ("42809", SqlState::WRONG_OBJECT_TYPE), + ("20000", SqlState::CASE_NOT_FOUND), + ("22001", SqlState::STRING_DATA_RIGHT_TRUNCATION), + ("HV00K", SqlState::FDW_REPLY_HANDLE), + ("08007", SqlState::TRANSACTION_RESOLUTION_UNKNOWN), + ("42830", SqlState::INVALID_FOREIGN_KEY), + ("2201F", SqlState::INVALID_ARGUMENT_FOR_POWER_FUNCTION), + ("2D000", SqlState::INVALID_TRANSACTION_TERMINATION), + ("38001", SqlState::E_R_E_CONTAINING_SQL_NOT_PERMITTED), + ("53000", SqlState::INSUFFICIENT_RESOURCES), + ("XX001", SqlState::DATA_CORRUPTED), + ("54011", SqlState::TOO_MANY_COLUMNS), + ("57P04", SqlState::DATABASE_DROPPED), + ("2F005", SqlState::S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT), + ("HV00N", SqlState::FDW_UNABLE_TO_ESTABLISH_CONNECTION), + ("25004", SqlState::INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION), + ("42P11", SqlState::INVALID_CURSOR_DEFINITION), + ("42701", SqlState::DUPLICATE_COLUMN), + ("42P18", SqlState::INDETERMINATE_DATATYPE), + ("08001", SqlState::SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION), + ("01007", SqlState::WARNING_PRIVILEGE_NOT_GRANTED), + ("0100C", SqlState::WARNING_DYNAMIC_RESULT_SETS_RETURNED), + ("2200L", SqlState::NOT_AN_XML_DOCUMENT), + ("22011", SqlState::SUBSTRING_ERROR), + ("42P20", SqlState::WINDOWING_ERROR), + ("42P12", SqlState::INVALID_DATABASE_DEFINITION), + ("22023", SqlState::INVALID_PARAMETER_VALUE), + ("22016", SqlState::INVALID_ARGUMENT_FOR_NTH_VALUE), + ("53400", SqlState::CONFIGURATION_LIMIT_EXCEEDED), + ("23001", SqlState::RESTRICT_VIOLATION), + ("428C9", SqlState::GENERATED_ALWAYS), + ("42723", SqlState::DUPLICATE_FUNCTION), + ("HV007", SqlState::FDW_INVALID_COLUMN_NAME), + ("38003", SqlState::E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED), + ("40001", SqlState::T_R_SERIALIZATION_FAILURE), + ("42P07", SqlState::DUPLICATE_TABLE), + ("22021", SqlState::CHARACTER_NOT_IN_REPERTOIRE), + ("08P01", SqlState::PROTOCOL_VIOLATION), + ("39P02", SqlState::E_R_I_E_SRF_PROTOCOL_VIOLATED), + ("22P03", SqlState::INVALID_BINARY_REPRESENTATION), + ("XX000", SqlState::INTERNAL_ERROR), + ("42P17", SqlState::INVALID_OBJECT_DEFINITION), + ("2200N", SqlState::INVALID_XML_CONTENT), + ("23502", SqlState::NOT_NULL_VIOLATION), + ("HV00B", SqlState::FDW_INVALID_HANDLE), + ("28000", SqlState::INVALID_AUTHORIZATION_SPECIFICATION), + ("2201E", SqlState::INVALID_ARGUMENT_FOR_LOG), + ("22018", SqlState::INVALID_CHARACTER_VALUE_FOR_CAST), + ("HV004", SqlState::FDW_INVALID_DATA_TYPE), + ("2F000", SqlState::SQL_ROUTINE_EXCEPTION), + ("0P000", SqlState::INVALID_ROLE_SPECIFICATION), + ("42P04", SqlState::DUPLICATE_DATABASE), + ("42P06", SqlState::DUPLICATE_SCHEMA), + ("28P01", SqlState::INVALID_PASSWORD), + ("2F004", SqlState::S_R_E_READING_SQL_DATA_NOT_PERMITTED), + ("57000", SqlState::OPERATOR_INTERVENTION), + ("P0000", SqlState::PLPGSQL_ERROR), + ("42712", SqlState::DUPLICATE_ALIAS), + ("22019", SqlState::INVALID_ESCAPE_CHARACTER), + ("22012", SqlState::DIVISION_BY_ZERO), + ("25007", SqlState::SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED), + ("22026", SqlState::STRING_DATA_LENGTH_MISMATCH), + ("0F001", SqlState::L_E_INVALID_SPECIFICATION), + ("22009", SqlState::INVALID_TIME_ZONE_DISPLACEMENT_VALUE), + ("42804", SqlState::DATATYPE_MISMATCH), + ("23503", SqlState::FOREIGN_KEY_VIOLATION), + ("2201B", SqlState::INVALID_REGULAR_EXPRESSION), + ("2B000", SqlState::DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST), + ("2200S", SqlState::INVALID_XML_COMMENT), + ("22003", SqlState::NUMERIC_VALUE_OUT_OF_RANGE), + ("22P06", SqlState::NONSTANDARD_USE_OF_ESCAPE_CHARACTER), + ("3B001", SqlState::S_E_INVALID_SPECIFICATION), + ("2202G", SqlState::INVALID_TABLESAMPLE_REPEAT), + ("21000", SqlState::CARDINALITY_VIOLATION), + ("25005", SqlState::NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION), + ("08003", SqlState::CONNECTION_DOES_NOT_EXIST), + ("42710", SqlState::DUPLICATE_OBJECT), ("2F003", SqlState::S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED), - ("42803", SqlState::GROUPING_ERROR), - ("3F000", SqlState::INVALID_SCHEMA_NAME), + ("42611", SqlState::INVALID_COLUMN_DEFINITION), + ("25006", SqlState::READ_ONLY_SQL_TRANSACTION), + ("2F002", SqlState::S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED), + ("HV00J", SqlState::FDW_OPTION_NAME_NOT_FOUND), + ("38004", SqlState::E_R_E_READING_SQL_DATA_NOT_PERMITTED), + ("42P16", SqlState::INVALID_TABLE_DEFINITION), + ("25008", SqlState::HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL), + ("22007", SqlState::INVALID_DATETIME_FORMAT), + ("22005", SqlState::ERROR_IN_ASSIGNMENT), + ("HV001", SqlState::FDW_OUT_OF_MEMORY), + ("HV000", SqlState::FDW_ERROR), + ("42P10", SqlState::INVALID_COLUMN_REFERENCE), + ("54000", SqlState::PROGRAM_LIMIT_EXCEEDED), + ("23505", SqlState::UNIQUE_VIOLATION), + ("42703", SqlState::UNDEFINED_COLUMN), + ("53300", SqlState::TOO_MANY_CONNECTIONS), + ("HV00L", SqlState::FDW_UNABLE_TO_CREATE_EXECUTION), + ("01000", SqlState::WARNING), + ("42P01", SqlState::UNDEFINED_TABLE), + ("22027", SqlState::TRIM_ERROR), + ("00000", SqlState::SUCCESSFUL_COMPLETION), + ("22008", SqlState::DATETIME_FIELD_OVERFLOW), + ("42P21", SqlState::COLLATION_MISMATCH), + ("HV010", SqlState::FDW_FUNCTION_SEQUENCE_ERROR), + ("2201X", SqlState::INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE), + ("HV006", SqlState::FDW_INVALID_DATA_TYPE_DESCRIPTORS), + ("2200F", SqlState::ZERO_LENGTH_CHARACTER_STRING), + ("22P05", SqlState::UNTRANSLATABLE_CHARACTER), + ("42P13", SqlState::INVALID_FUNCTION_DEFINITION), + ("40000", SqlState::TRANSACTION_ROLLBACK), + ("01008", SqlState::WARNING_IMPLICIT_ZERO_BIT_PADDING), + ("58P01", SqlState::UNDEFINED_FILE), + ("HV002", SqlState::FDW_DYNAMIC_PARAMETER_VALUE_NEEDED), + ("42704", SqlState::UNDEFINED_OBJECT), + ("HV005", SqlState::FDW_COLUMN_NAME_NOT_FOUND), + ("42P14", SqlState::INVALID_PSTATEMENT_DEFINITION), + ("42P22", SqlState::INDETERMINATE_COLLATION), + ("01004", SqlState::WARNING_STRING_DATA_RIGHT_TRUNCATION), + ("34000", SqlState::INVALID_CURSOR_NAME), + ("09000", SqlState::TRIGGERED_ACTION_EXCEPTION), + ("22014", SqlState::INVALID_ARGUMENT_FOR_NTILE), + ("01006", SqlState::WARNING_PRIVILEGE_NOT_REVOKED), + ("57P03", SqlState::CANNOT_CONNECT_NOW), + ("22004", SqlState::NULL_VALUE_NOT_ALLOWED), + ("2202H", SqlState::INVALID_TABLESAMPLE_ARGUMENT), + ("42P15", SqlState::INVALID_SCHEMA_DEFINITION), + ("22000", SqlState::DATA_EXCEPTION), + ("58030", SqlState::IO_ERROR), + ("25P03", SqlState::IDLE_IN_TRANSACTION_SESSION_TIMEOUT), + ("42P03", SqlState::DUPLICATE_CURSOR), + ("01003", SqlState::WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION), ]), };