|
@@ -1,4 +1,4 @@
|
|
-%% DO NOT EDIT - AUTOGENERATED BY ./generate_errcodes_src.sh ON 2018-02-23T11:18:01+0100
|
|
+%% DO NOT EDIT - AUTOGENERATED BY ./generate_errcodes_src.sh ON 2020-02-01T00:16:09+0100
|
|
-module(epgsql_errcodes).
|
|
-module(epgsql_errcodes).
|
|
-export([to_name/1]).
|
|
-export([to_name/1]).
|
|
|
|
|
|
@@ -55,7 +55,7 @@ to_name(<<"22025">>) -> invalid_escape_sequence;
|
|
to_name(<<"22P06">>) -> nonstandard_use_of_escape_character;
|
|
to_name(<<"22P06">>) -> nonstandard_use_of_escape_character;
|
|
to_name(<<"22010">>) -> invalid_indicator_parameter_value;
|
|
to_name(<<"22010">>) -> invalid_indicator_parameter_value;
|
|
to_name(<<"22023">>) -> invalid_parameter_value;
|
|
to_name(<<"22023">>) -> invalid_parameter_value;
|
|
-to_name(<<"22013">>) -> invalid_preceding_following_size;
|
|
+to_name(<<"22013">>) -> invalid_preceding_or_following_size;
|
|
to_name(<<"2201B">>) -> invalid_regular_expression;
|
|
to_name(<<"2201B">>) -> invalid_regular_expression;
|
|
to_name(<<"2201W">>) -> invalid_row_count_in_limit_clause;
|
|
to_name(<<"2201W">>) -> invalid_row_count_in_limit_clause;
|
|
to_name(<<"2201X">>) -> invalid_row_count_in_result_offset_clause;
|
|
to_name(<<"2201X">>) -> invalid_row_count_in_result_offset_clause;
|
|
@@ -84,6 +84,22 @@ to_name(<<"2200M">>) -> invalid_xml_document;
|
|
to_name(<<"2200N">>) -> invalid_xml_content;
|
|
to_name(<<"2200N">>) -> invalid_xml_content;
|
|
to_name(<<"2200S">>) -> invalid_xml_comment;
|
|
to_name(<<"2200S">>) -> invalid_xml_comment;
|
|
to_name(<<"2200T">>) -> invalid_xml_processing_instruction;
|
|
to_name(<<"2200T">>) -> invalid_xml_processing_instruction;
|
|
|
|
+to_name(<<"22030">>) -> duplicate_json_object_key_value;
|
|
|
|
+to_name(<<"22031">>) -> invalid_argument_for_json_datetime_function;
|
|
|
|
+to_name(<<"22032">>) -> invalid_json_text;
|
|
|
|
+to_name(<<"22033">>) -> invalid_sql_json_subscript;
|
|
|
|
+to_name(<<"22034">>) -> more_than_one_sql_json_item;
|
|
|
|
+to_name(<<"22035">>) -> no_sql_json_item;
|
|
|
|
+to_name(<<"22036">>) -> non_numeric_sql_json_item;
|
|
|
|
+to_name(<<"22037">>) -> non_unique_keys_in_a_json_object;
|
|
|
|
+to_name(<<"22038">>) -> singleton_sql_json_item_required;
|
|
|
|
+to_name(<<"22039">>) -> sql_json_array_not_found;
|
|
|
|
+to_name(<<"2203A">>) -> sql_json_member_not_found;
|
|
|
|
+to_name(<<"2203B">>) -> sql_json_number_not_found;
|
|
|
|
+to_name(<<"2203C">>) -> sql_json_object_not_found;
|
|
|
|
+to_name(<<"2203D">>) -> too_many_json_array_elements;
|
|
|
|
+to_name(<<"2203E">>) -> too_many_json_object_members;
|
|
|
|
+to_name(<<"2203F">>) -> sql_json_scalar_required;
|
|
to_name(<<"23000">>) -> integrity_constraint_violation;
|
|
to_name(<<"23000">>) -> integrity_constraint_violation;
|
|
to_name(<<"23001">>) -> restrict_violation;
|
|
to_name(<<"23001">>) -> restrict_violation;
|
|
to_name(<<"23502">>) -> not_null_violation;
|
|
to_name(<<"23502">>) -> not_null_violation;
|
|
@@ -195,6 +211,7 @@ to_name(<<"55000">>) -> object_not_in_prerequisite_state;
|
|
to_name(<<"55006">>) -> object_in_use;
|
|
to_name(<<"55006">>) -> object_in_use;
|
|
to_name(<<"55P02">>) -> cant_change_runtime_param;
|
|
to_name(<<"55P02">>) -> cant_change_runtime_param;
|
|
to_name(<<"55P03">>) -> lock_not_available;
|
|
to_name(<<"55P03">>) -> lock_not_available;
|
|
|
|
+to_name(<<"55P04">>) -> unsafe_new_enum_value_usage;
|
|
to_name(<<"57000">>) -> operator_intervention;
|
|
to_name(<<"57000">>) -> operator_intervention;
|
|
to_name(<<"57014">>) -> query_canceled;
|
|
to_name(<<"57014">>) -> query_canceled;
|
|
to_name(<<"57P01">>) -> admin_shutdown;
|
|
to_name(<<"57P01">>) -> admin_shutdown;
|