pg_async
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions
sqlstates.hpp File Reference
#include <string>
Include dependency graph for sqlstates.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tip
 
 tip::db
 
 tip::db::pg
 
 tip::db::pg::sqlstate
 

Enumerations

enum  tip::db::pg::sqlstate::code {
  tip::db::pg::sqlstate::unknown_code, tip::db::pg::sqlstate::successful_completion, tip::db::pg::sqlstate::warning, tip::db::pg::sqlstate::dynamic_result_sets_returned,
  tip::db::pg::sqlstate::implicit_zero_bit_padding, tip::db::pg::sqlstate::null_value_eliminated_in_set_function, tip::db::pg::sqlstate::privilege_not_granted, tip::db::pg::sqlstate::privilege_not_revoked,
  tip::db::pg::sqlstate::string_data_right_truncation, tip::db::pg::sqlstate::deprecated_feature, tip::db::pg::sqlstate::no_data, tip::db::pg::sqlstate::no_additional_dynamic_result_sets_returned,
  tip::db::pg::sqlstate::sql_statement_not_yet_complete, tip::db::pg::sqlstate::connection_exception, tip::db::pg::sqlstate::connection_does_not_exist, tip::db::pg::sqlstate::connection_failure,
  tip::db::pg::sqlstate::sqlclient_unable_to_establish_sqlconnection, tip::db::pg::sqlstate::sqlserver_rejected_establishment_of_sqlconnection, tip::db::pg::sqlstate::transaction_resolution_unknown, tip::db::pg::sqlstate::protocol_violation,
  tip::db::pg::sqlstate::triggered_action_exception, tip::db::pg::sqlstate::feature_not_supported, tip::db::pg::sqlstate::invalid_transaction_initiation, tip::db::pg::sqlstate::locator_exception,
  tip::db::pg::sqlstate::invalid_locator_specification, tip::db::pg::sqlstate::invalid_grantor, tip::db::pg::sqlstate::invalid_grant_operation, tip::db::pg::sqlstate::invalid_role_specification,
  tip::db::pg::sqlstate::diagnostics_exception, tip::db::pg::sqlstate::stacked_diagnostics_accessed_without_active_handler, tip::db::pg::sqlstate::case_not_found, tip::db::pg::sqlstate::cardinality_violation,
  tip::db::pg::sqlstate::data_exception, tip::db::pg::sqlstate::array_subscript_error, tip::db::pg::sqlstate::character_not_in_repertoire, tip::db::pg::sqlstate::datetime_field_overflow,
  tip::db::pg::sqlstate::division_by_zero, tip::db::pg::sqlstate::error_in_assignment, tip::db::pg::sqlstate::escape_character_conflict, tip::db::pg::sqlstate::indicator_overflow,
  tip::db::pg::sqlstate::interval_field_overflow, tip::db::pg::sqlstate::invalid_argument_for_logarithm, tip::db::pg::sqlstate::invalid_argument_for_ntile_function, tip::db::pg::sqlstate::invalid_argument_for_nth_value_function,
  tip::db::pg::sqlstate::invalid_argument_for_power_function, tip::db::pg::sqlstate::invalid_argument_for_width_bucket_function, tip::db::pg::sqlstate::invalid_character_value_for_cast, tip::db::pg::sqlstate::invalid_datetime_format,
  tip::db::pg::sqlstate::invalid_escape_character, tip::db::pg::sqlstate::invalid_escape_octet, tip::db::pg::sqlstate::invalid_escape_sequence, tip::db::pg::sqlstate::nonstandard_use_of_escape_character,
  tip::db::pg::sqlstate::invalid_indicator_parameter_value, tip::db::pg::sqlstate::invalid_parameter_value, tip::db::pg::sqlstate::invalid_regular_expression, tip::db::pg::sqlstate::invalid_row_count_in_limit_clause,
  tip::db::pg::sqlstate::invalid_row_count_in_result_offset_clause, tip::db::pg::sqlstate::invalid_time_zone_displacement_value, tip::db::pg::sqlstate::invalid_use_of_escape_character, tip::db::pg::sqlstate::most_specific_type_mismatch,
  tip::db::pg::sqlstate::null_value_not_allowed, tip::db::pg::sqlstate::null_value_no_indicator_parameter, tip::db::pg::sqlstate::numeric_value_out_of_range, tip::db::pg::sqlstate::string_data_length_mismatch,
  tip::db::pg::sqlstate::substring_error, tip::db::pg::sqlstate::trim_error, tip::db::pg::sqlstate::unterminated_c_string, tip::db::pg::sqlstate::zero_length_character_string,
  tip::db::pg::sqlstate::floating_point_exception, tip::db::pg::sqlstate::invalid_text_representation, tip::db::pg::sqlstate::invalid_binary_representation, tip::db::pg::sqlstate::bad_copy_file_format,
  tip::db::pg::sqlstate::untranslatable_character, tip::db::pg::sqlstate::not_an_xml_document, tip::db::pg::sqlstate::invalid_xml_document, tip::db::pg::sqlstate::invalid_xml_content,
  tip::db::pg::sqlstate::invalid_xml_comment, tip::db::pg::sqlstate::invalid_xml_processing_instruction, tip::db::pg::sqlstate::integrity_constraint_violation, tip::db::pg::sqlstate::restrict_violation,
  tip::db::pg::sqlstate::not_null_violation, tip::db::pg::sqlstate::foreign_key_violation, tip::db::pg::sqlstate::unique_violation, tip::db::pg::sqlstate::check_violation,
  tip::db::pg::sqlstate::exclusion_violation, tip::db::pg::sqlstate::invalid_cursor_state, tip::db::pg::sqlstate::invalid_transaction_state, tip::db::pg::sqlstate::active_sql_transaction,
  tip::db::pg::sqlstate::branch_transaction_already_active, tip::db::pg::sqlstate::held_cursor_requires_same_isolation_level, tip::db::pg::sqlstate::inappropriate_access_mode_for_branch_transaction, tip::db::pg::sqlstate::inappropriate_isolation_level_for_branch_transaction,
  tip::db::pg::sqlstate::no_active_sql_transaction_for_branch_transaction, tip::db::pg::sqlstate::read_only_sql_transaction, tip::db::pg::sqlstate::schema_and_data_statement_mixing_not_supported, tip::db::pg::sqlstate::no_active_sql_transaction,
  tip::db::pg::sqlstate::in_failed_sql_transaction, tip::db::pg::sqlstate::invalid_sql_statement_name, tip::db::pg::sqlstate::triggered_data_change_violation, tip::db::pg::sqlstate::invalid_authorization_specification,
  tip::db::pg::sqlstate::invalid_password, tip::db::pg::sqlstate::dependent_privilege_descriptors_still_exist, tip::db::pg::sqlstate::dependent_objects_still_exist, tip::db::pg::sqlstate::invalid_transaction_termination,
  tip::db::pg::sqlstate::sql_routine_exception, tip::db::pg::sqlstate::function_executed_no_return_statement, tip::db::pg::sqlstate::modifying_sql_data_not_permitted, tip::db::pg::sqlstate::prohibited_sql_statement_attempted,
  tip::db::pg::sqlstate::reading_sql_data_not_permitted, tip::db::pg::sqlstate::invalid_cursor_name, tip::db::pg::sqlstate::external_routine_exception, tip::db::pg::sqlstate::containing_sql_not_permitted,
  tip::db::pg::sqlstate::external_routine_invocation_exception, tip::db::pg::sqlstate::invalid_sqlstate_returned, tip::db::pg::sqlstate::trigger_protocol_violated, tip::db::pg::sqlstate::srf_protocol_violated,
  tip::db::pg::sqlstate::savepoint_exception, tip::db::pg::sqlstate::invalid_savepoint_specification, tip::db::pg::sqlstate::invalid_catalog_name, tip::db::pg::sqlstate::invalid_schema_name,
  tip::db::pg::sqlstate::transaction_rollback, tip::db::pg::sqlstate::transaction_integrity_constraint_violation, tip::db::pg::sqlstate::serialization_failure, tip::db::pg::sqlstate::statement_completion_unknown,
  tip::db::pg::sqlstate::deadlock_detected, tip::db::pg::sqlstate::syntax_error_or_access_rule_violation, tip::db::pg::sqlstate::syntax_error, tip::db::pg::sqlstate::insufficient_privilege,
  tip::db::pg::sqlstate::cannot_coerce, tip::db::pg::sqlstate::grouping_error, tip::db::pg::sqlstate::windowing_error, tip::db::pg::sqlstate::invalid_recursion,
  tip::db::pg::sqlstate::invalid_foreign_key, tip::db::pg::sqlstate::invalid_name, tip::db::pg::sqlstate::name_too_long, tip::db::pg::sqlstate::reserved_name,
  tip::db::pg::sqlstate::datatype_mismatch, tip::db::pg::sqlstate::indeterminate_datatype, tip::db::pg::sqlstate::collation_mismatch, tip::db::pg::sqlstate::indeterminate_collation,
  tip::db::pg::sqlstate::wrong_object_type, tip::db::pg::sqlstate::undefined_column, tip::db::pg::sqlstate::undefined_function, tip::db::pg::sqlstate::undefined_table,
  tip::db::pg::sqlstate::undefined_parameter, tip::db::pg::sqlstate::undefined_object, tip::db::pg::sqlstate::duplicate_column, tip::db::pg::sqlstate::duplicate_cursor,
  tip::db::pg::sqlstate::duplicate_database, tip::db::pg::sqlstate::duplicate_function, tip::db::pg::sqlstate::duplicate_prepared_statement, tip::db::pg::sqlstate::duplicate_schema,
  tip::db::pg::sqlstate::duplicate_table, tip::db::pg::sqlstate::duplicate_alias, tip::db::pg::sqlstate::duplicate_object, tip::db::pg::sqlstate::ambiguous_column,
  tip::db::pg::sqlstate::ambiguous_function, tip::db::pg::sqlstate::ambiguous_parameter, tip::db::pg::sqlstate::ambiguous_alias, tip::db::pg::sqlstate::invalid_column_reference,
  tip::db::pg::sqlstate::invalid_column_definition, tip::db::pg::sqlstate::invalid_cursor_definition, tip::db::pg::sqlstate::invalid_database_definition, tip::db::pg::sqlstate::invalid_function_definition,
  tip::db::pg::sqlstate::invalid_prepared_statement_definition, tip::db::pg::sqlstate::invalid_schema_definition, tip::db::pg::sqlstate::invalid_table_definition, tip::db::pg::sqlstate::invalid_object_definition,
  tip::db::pg::sqlstate::with_check_option_violation, tip::db::pg::sqlstate::insufficient_resources, tip::db::pg::sqlstate::disk_full, tip::db::pg::sqlstate::out_of_memory,
  tip::db::pg::sqlstate::too_many_connections, tip::db::pg::sqlstate::configuration_limit_exceeded, tip::db::pg::sqlstate::program_limit_exceeded, tip::db::pg::sqlstate::statement_too_complex,
  tip::db::pg::sqlstate::too_many_columns, tip::db::pg::sqlstate::too_many_arguments, tip::db::pg::sqlstate::object_not_in_prerequisite_state, tip::db::pg::sqlstate::object_in_use,
  tip::db::pg::sqlstate::cant_change_runtime_param, tip::db::pg::sqlstate::lock_not_available, tip::db::pg::sqlstate::operator_intervention, tip::db::pg::sqlstate::query_canceled,
  tip::db::pg::sqlstate::admin_shutdown, tip::db::pg::sqlstate::crash_shutdown, tip::db::pg::sqlstate::cannot_connect_now, tip::db::pg::sqlstate::database_dropped,
  tip::db::pg::sqlstate::system_error, tip::db::pg::sqlstate::io_error, tip::db::pg::sqlstate::undefined_file, tip::db::pg::sqlstate::duplicate_file,
  tip::db::pg::sqlstate::config_file_error, tip::db::pg::sqlstate::lock_file_exists, tip::db::pg::sqlstate::fdw_error, tip::db::pg::sqlstate::fdw_column_name_not_found,
  tip::db::pg::sqlstate::fdw_dynamic_parameter_value_needed, tip::db::pg::sqlstate::fdw_function_sequence_error, tip::db::pg::sqlstate::fdw_inconsistent_descriptor_information, tip::db::pg::sqlstate::fdw_invalid_attribute_value,
  tip::db::pg::sqlstate::fdw_invalid_column_name, tip::db::pg::sqlstate::fdw_invalid_column_number, tip::db::pg::sqlstate::fdw_invalid_data_type, tip::db::pg::sqlstate::fdw_invalid_data_type_descriptors,
  tip::db::pg::sqlstate::fdw_invalid_descriptor_field_identifier, tip::db::pg::sqlstate::fdw_invalid_handle, tip::db::pg::sqlstate::fdw_invalid_option_index, tip::db::pg::sqlstate::fdw_invalid_option_name,
  tip::db::pg::sqlstate::fdw_invalid_string_length_or_buffer_length, tip::db::pg::sqlstate::fdw_invalid_string_format, tip::db::pg::sqlstate::fdw_invalid_use_of_null_pointer, tip::db::pg::sqlstate::fdw_too_many_handles,
  tip::db::pg::sqlstate::fdw_out_of_memory, tip::db::pg::sqlstate::fdw_no_schemas, tip::db::pg::sqlstate::fdw_option_name_not_found, tip::db::pg::sqlstate::fdw_reply_handle,
  tip::db::pg::sqlstate::fdw_schema_not_found, tip::db::pg::sqlstate::fdw_table_not_found, tip::db::pg::sqlstate::fdw_unable_to_create_execution, tip::db::pg::sqlstate::fdw_unable_to_create_reply,
  tip::db::pg::sqlstate::fdw_unable_to_establish_connection, tip::db::pg::sqlstate::plpgsql_error, tip::db::pg::sqlstate::raise_exception, tip::db::pg::sqlstate::no_data_found,
  tip::db::pg::sqlstate::too_many_rows, tip::db::pg::sqlstate::internal_error, tip::db::pg::sqlstate::data_corrupted, tip::db::pg::sqlstate::index_corrupted
}
 

Functions

code tip::db::pg::sqlstate::code_to_state (std::string const &val)