Amazon Redshift RSQL エラーコード - Amazon Redshift

Amazon Redshift RSQL エラーコード

成功メッセージ、警告、例外:

エラーコード エラークラス 条件名
00000 クラス 00 - 無事修了 successful_completion
01000 クラス 01 - 警告 warning
0100C クラス 01 - 警告 dynamic_result_sets_returned
01008 クラス 01 - 警告 implicit_zero_bit_padding
01003 クラス 01 - 警告 null_value_eliminated_in_set_function
01007 クラス 01 - 警告 privilege_not_granted
01006 クラス 01 - 警告 privilege_not_revoked
01004 クラス 01 - 警告 string_data_right_truncation
01P01 クラス 01 - 警告 deprecated_feature
02000 クラス 02 - データなし no_data
02001 クラス 02 - データなし no_additional_dynamic_result_sets_returned
03000 クラス 03 - SQL 文がまだ完成していません sql_statement_not_yet_complete
08000 クラス 08 - 接続例外 connection_exception
08003 クラス 08 - 接続例外 connection_does_not_exist
08006 クラス 08 - 接続例外 connection_failure
08001 クラス 08 - 接続例外 sqlclient_unable_to_establish_sqlconnection
08004 クラス 08 - 接続例外 sqlserver_rejected_establishment_of_sqlconnection
08007 クラス 08 - 接続例外 transaction_resolution_unknown
08P01 クラス 08 - 接続例外 protocol_violation
09000 クラス 09 - トリガーされたアクションの例外 triggered_action_exception
0A000 クラス 0A - 機能はサポートされていません feature_not_supported
0A000 クラス 0A - 機能はサポートされていません feature_not_supported
0B000 クラス 0B - 無効なトランザクション開始 invalid_transaction_initiation
0F000 クラス 0F - ロケータ例外 locator_exception
0F001 クラス 0F - ロケータ例外 invalid_locator_specification
0L000 クラス 0L - 無効な権限付与者 invalid_grantor
0LP01 クラス 0L - 無効な権限付与者 invalid_grant_operation
0P000 クラス 0P - 無効なロール指定 invalid_role_specification
0Z000 クラス 0Z - 診断例外 diagnostics_exception
0Z002 クラス 0Z - 診断例外 stacked_diagnostics_accessed_without_active_handler
20000 クラス 20 - ケースが見つかりません case_not_found
21000 クラス 21 - カーディナリティ違反 cardinality_violation

データ例外:

エラーコード エラークラス 条件名
22000 クラス 22 - データ例外 data_exception
2202E クラス 22 - データ例外 array_subscript_error
22021 クラス 22 - データ例外 character_not_in_repertoire
22008 クラス 22 - データ例外 datetime_field_overflow
22012 クラス 22 - データ例外 division_by_zero
22005 クラス 01 - 警告 error_in_assignment
2200B クラス 01 - 警告 escape_character_conflict
22022 クラス 01 - 警告 indicator_overflow
22015 クラス 01 - 警告 interval_field_overflow
2201E クラス 01 - 警告 invalid_argument_for_logarithm
2201F クラス 01 - 警告 invalid_argument_for_power_function
2201G クラス 01 - 警告 invalid_argument_for_width_bucket_function
22018 クラス 01 - 警告 invalid_character_value_for_cast
22007 クラス 01 - 警告 invalid_datetime_format
22019 クラス 01 - 警告 invalid_escape_character
2200D クラス 01 - 警告 invalid_escape_octet
22025 クラス 01 - 警告 invalid_escape_sequence
22P06 クラス 01 - 警告 nonstandard_use_of_escape_character
22010 クラス 01 - 警告 invalid_indicator_parameter_value
22023 クラス 01 - 警告 invalid_parameter_value
2201B クラス 01 - 警告 invalid_regular_expression
22009 クラス 01 - 警告 invalid_time_zone_displacement_value
2200C クラス 01 - 警告 invalid_use_of_escape_character
2200G クラス 01 - 警告 most_specific_type_mismatch
22004 クラス 01 - 警告 null_value_not_allowed
22002 クラス 01 - 警告 null_value_no_indicator_parameter
22003 クラス 01 - 警告 numeric_value_out_of_range
22026 クラス 01 - 警告 string_data_length_mismatch
22001 クラス 01 - 警告 string_data_right_truncation
22011 クラス 01 - 警告 substring_error
22027 クラス 01 - 警告 trim_error
22024 クラス 01 - 警告 unterminated_c_string
2200F クラス 01 - 警告 zero_length_character_string
22P01 クラス 01 - 警告 floating_point_exception
22P02 クラス 01 - 警告 invalid_text_representation
22P03 クラス 01 - 警告 invalid_binary_representation
22P04 クラス 01 - 警告 bad_copy_file_format
22P05 クラス 01 - 警告 untranslatable_character

整合性制約違反:

エラーコード エラークラス 条件名
23000 クラス 23 - 整合性制約違反 integrity_constraint_violation
23001 クラス 23 - 整合性制約違反 restrict_violation
23502 クラス 23 - 整合性制約違反 not_null_violation
23503 クラス 23 - 整合性制約違反 foreign_key_violation
23505 クラス 23 - 整合性制約違反 unique_violation
23514 クラス 23 - 整合性制約違反 check_violation
24000 クラス 24 - 無効なカーソル状態 invalid_cursor_state
01004 クラス 01 - 警告 string_data_right_truncation
25000 クラス 25 - 無効なトランザクション状態 invalid_transaction_state
25001 クラス 25 - 無効なトランザクション状態 active_sql_transaction
25002 クラス 25 - 無効なトランザクション状態 invalid_transaction_state
25008 クラス 25 - 無効なトランザクション状態 held_cursor_requires_same_isolation_level
25003 クラス 25 - 無効なトランザクション状態 inappropriate_access_mode_for_branch_transaction
25004 クラス 25 - 無効なトランザクション状態 inappropriate_isolation_level_for_branch_transaction
25005 クラス 25 - 無効なトランザクション状態 no_active_sql_transaction_for_branch_transaction
25006 クラス 25 - 無効なトランザクション状態 read_only_sql_transaction
25007 クラス 25 - 無効なトランザクション状態 no_active_sql_transaction_for_branch_transaction
25P01 クラス 25 - 無効なトランザクション状態 no_active_sql_transaction
25P02 クラス 25 - 無効なトランザクション状態 in_failed_sql_transaction
26000 クラス 26 - 無効な SQL ステートメント名 invalid_sql_statement_name
28000 クラス 28 - 無効な認可指定 invalid_authorization_specification
2B000 クラス 2B - 従属権限記述子がまだ存在します dependent_privilege_descriptors_still_exist
2BP01 クラス 2B - 従属権限記述子がまだ存在します dependent_objects_still_exist
2D000 クラス 2D - 無効なトランザクション終了 invalid_transaction_termination
2F000 クラス 2F - SQL ルーチン例外 sql_routine_exception
2F005 クラス 2F - SQL ルーチン例外 function_executed_no_return_statement
2F002 クラス 2F - SQL ルーチン例外 modifying_sql_data_not_permitted
2F003 クラス 2F - SQL ルーチン例外 prohibited_sql_statement_attempted
2F004 クラス 2F - SQL ルーチン例外 reading_sql_data_not_permitted
34000 クラス 34 - 無効なカーソル名 invalid_cursor_name
38000 クラス 38 - 外部ルーチン例外 external_routine_exception
38001 クラス 38 - 外部ルーチン例外 containing_sql_not_permitted
38002 クラス 38 - 外部ルーチン例外 modifying_sql_data_not_permitted
38003 クラス 38 - 外部ルーチン例外 prohibited_sql_statement_attempted
38004 クラス 38 - 外部ルーチン例外 reading_sql_data_not_permitted
39000 クラス 39 - 外部ルーチン呼び出しの例外 external_routine_invocation_exception
39001 クラス 39 - 外部ルーチン呼び出しの例外 invalid_sqlstate_returned
39004 クラス 39 - 外部ルーチン呼び出しの例外 null_value_not_allowed
39P01 クラス 39 - 外部ルーチン呼び出しの例外 trigger_protocol_violated
39P02 クラス 39 - 外部ルーチン呼び出しの例外 srf_protocol_violated
3D000 クラス 3D - 無効なカタログ名 invalid_catalog_name
3F000 クラス 3F - 無効なスキーマ名 invalid_schema_name
42000 クラス 42 - 構文エラーまたはアクセス規則違反 syntax_error_or_access_rule_violation
42601 クラス 42 - 構文エラーまたはアクセス規則違反 syntax_error
42501 クラス 42 - 構文エラーまたはアクセス規則違反 insufficient_privilege
42846 クラス 42 - 構文エラーまたはアクセス規則違反 cannot_coerce
42803 クラス 42 - 構文エラーまたはアクセス規則違反 grouping_error
42830 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_foreign_key
42602 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_name
42622 クラス 42 - 構文エラーまたはアクセス規則違反 name_too_long
42939 クラス 42 - 構文エラーまたはアクセス規則違反 reserved_name
42804 クラス 42 - 構文エラーまたはアクセス規則違反 datatype_mismatch
42P18 クラス 42 - 構文エラーまたはアクセス規則違反 indeterminate_datatype
42809 クラス 42 - 構文エラーまたはアクセス規則違反 wrong_object_type
42703 クラス 42 - 構文エラーまたはアクセス規則違反 undefined_column
42883 クラス 42 - 構文エラーまたはアクセス規則違反 undefined_function
42P01 クラス 42 - 構文エラーまたはアクセス規則違反 undefined_table
42P02 クラス 42 - 構文エラーまたはアクセス規則違反 undefined_parameter
42704 クラス 42 - 構文エラーまたはアクセス規則違反 undefined_object
42701 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_column
42P03 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_cursor
42P04 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_database
42723 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_function
42P05 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_prepared_statement
42P06 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_schema
42P07 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_table
42712 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_alias
42710 クラス 42 - 構文エラーまたはアクセス規則違反 duplicate_object
42702 クラス 42 - 構文エラーまたはアクセス規則違反 ambiguous_column
42725 クラス 42 - 構文エラーまたはアクセス規則違反 ambiguous_function
42P08 クラス 42 - 構文エラーまたはアクセス規則違反 ambiguous_parameter
42P09 クラス 42 - 構文エラーまたはアクセス規則違反 ambiguous_alias
42P10 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_column_reference
42611 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_column_definition
42P11 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_cursor_definition
42P12 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_database_definition
42P13 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_function_definition
42P14 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_prepared_statement_definition
42P15 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_schema_definition
42P16 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_table_definition
42P17 クラス 42 - 構文エラーまたはアクセス規則違反 invalid_object_definition
44000 クラス 44 - WITH CHECK OPTION 違反 with_check_option_violation
53000 クラス 53 - リソース不足 insufficient_resources
53100 クラス 53 - リソース不足 disk_full
53200 クラス 53 - リソース不足 out_of_memory
53300 クラス 53 - リソース不足 too_many_connections
54000 クラス 54 - プログラム制限を超過しました program_limit_exceeded
54001 クラス 54 - プログラム制限を超過しました statement_too_complex
54011 クラス 54 - プログラム制限を超過しました too_many_columns
54023 クラス 54 - プログラム制限を超過しました too_many_arguments
55000 クラス 55 - オブジェクトが前提条件の状態ではありません object_not_in_prerequisite_state
55006 クラス 55 - オブジェクトが前提条件の状態ではありません object_in_use
55P02 クラス 55 - オブジェクトが前提条件の状態ではありません cant_change_runtime_param
55P03 クラス 55 - オブジェクトが前提条件の状態ではありません lock_not_available
57000 クラス 57 - オペレーターの介入 operator_intervention
57014 クラス 57 - オペレーターの介入 query_canceled
57P01 クラス 57 - オペレーターの介入 admin_shutdown
57P02 クラス 57 - オペレーターの介入 crash_shutdown
57P03 クラス 57 - オペレーターの介入 cannot_connect_now
58000 クラス 58 - システムエラー (PostgreSQL の外部エラー) system_error
58030 クラス 58 - システムエラー (PostgreSQL の外部エラー) io_error
58P01 クラス 58 - システムエラー (PostgreSQL の外部エラー) undefined_file
58P02 クラス 58 - システムエラー (PostgreSQL の外部エラー) duplicate_file
F0000 クラス F0 - 設定ファイルエラー duplicate_file
F0001 クラス F0 - 設定ファイルエラー lock_file_exists
P0000 クラス P0 - PL/pgSQL エラー plpgsql_error
P0001 クラス P0 - PL/pgSQL エラー raise_exception
P0002 クラス P0 - PL/pgSQL エラー no_data_found
P0003 クラス P0 - PL/pgSQL エラー too_many_rows
XX000 クラス XX - 内部エラー internal_error
XX001 クラス XX - 内部エラー data_corrupted
XX002 クラス XX - 内部エラー index_corrupted