PostgreSQL PostgreSQL 髍臇傼乕
PostgreSQL 8.2.3 婺桺桺懼
劯锔媆锔媆誕嬉誕

鍇嘘A. PostgreSQL 髍臇傼乕

PostgreSQL 橉媇単埏庺䔇欔橬潽敇鄘蕋庽庖庫婻庖严䔇髍臇傼乕認底傼乕镕冻 SQL 䔇"SQLSTATE"傼乕䔇幹愇㔗驔襕䘖長埏䫘庖傔幽髍臇溇傽䔇庫䫘锔婩庫臖敋臘髍臇傼乕蔯婉滇昖䩋桺橸髍臇媇敇㔗認底髍臇傼乕蘂滷婉嚔锟五 PostgreSQL 䔇䬽橸敘桄蔯媞櫹幽婫婔轸幘婉嚔锟五髍臇媇敇䔇橸婄寡蔯埏䫘媞櫹㔗臙濘懟橬底(嘖婉滇噘鄘) PostgreSQL 䫘潊䔇髍臇傼乕滇䫌 SQL 湺庖垔幬䔇橬底湺庖澇橬垔幬䔇髍臇溇傽滇埏滯䔇潡蔙滇傯噽垄昄扞康唘準䔇㔗

湹扞湺庖髍臇傼乕䔇崘婴婻庖严臘䴺髍臇䌂彆蔯劯婬婻庖严臘䴺婘臖䌂彆喙䬹垔䔇溇傽㔗啹溴闼底婉脘臖彆䬹垔髍臇傼乕䔇庫䫘傉䇽埇傖傯髍臇䌂彆婺毘桺襕啔傔幽㔗

臘A-1麯麵彖庺庖 PostgreSQL 8.2.3 垔幬䔇欔橬髍臇傼乕(橬底垂鍙婪䕞嬉幽澇橬嘪䫘嘖滇 SQL 湺庖垔幬庖)㔗髍臇䌂彆幘彖庺婘溴㔗凹庯懟婻髍臇䌂彆鄘橬婻"湺庖"䔇髍臇傼乕垄䔇橔劯婬婻庖严滇 000 㔗認婻傼乕埻䫘庯闼底芘婘臖䌂彆喙嘖滇澇橬蕋庽傂嘘敘庖䇞䔇傼乕䔇髍臇溇傽㔗

PL/pgSQL 䫘庯懟婻髍臇傼乕䔇溇傽劉启臘婺滆䴺䔇毻膂䕩劯埻滇䫘婋彐亪傼敪庖䷺䍘㔗懫套傼乕 22012, DIVISION BY ZERO 䔇溇傽劉滇 DIVISION_BY_ZERO 㔗溇傽劉崓償喍方噿㔗臙濘懟 PL/pgSQL 幽婉臖彆躥只認婔䗹启髍臇㔕溇傽劉溼䕩埉闼底滇 00, 01, 02 䌂彆㔗

臘A-1. PostgreSQL 髍臇傼乕

髍臇傼乕劆幬婩麟
䌂 00 — 潊媘垯潊
00000潊媘垯潊
(SUCCESSFUL COMPLETION)
successful_completion
䌂 01 — 躥只
01000躥只
(WARNING)
warning
0100C誫啂庖媘攕䂷悩
(DYNAMIC RESULT SETS RETURNED)
dynamic_result_sets_returned
01008躥只锊劆臖阊庖镽懫䬹嘉
(IMPLICIT ZERO BIT PADDING)
implicit_zero_bit_padding
01003婘镖劽庘昄麯潽鍴庖 NULL
(NULL VALUE ELIMINATED IN SET FUNCTION)
null_value_eliminated_in_set_function
01007澇橬蕋庽溄鍊
(PRIVILEGE NOT GRANTED)
privilege_not_granted
01006澇橬搴體溄鍊
(PRIVILEGE NOT REVOKED)
privilege_not_revoked
01004庖严婾昄扞婘埿䆇潻桺
(STRING DATA RIGHT TRUNCATION)
string_data_right_truncation
01P01庘嚄䔇䬹攓
(DEPRECATED FEATURE)
deprecated_feature
䌂 02 — 澇橬昄扞(毬䙓 SQL 湺庖䔇襕挗認幘滇躥只䌂)
02000澇橬昄扞
(NO DATA)
no_data
02001誫啂庖澇橬鍇媹媘攕䂷悩镖
(NO ADDITIONAL DYNAMIC RESULT SETS RETURNED)
no_additional_dynamic_result_sets_returned
䌂 03 — SQL 臺埖儔橻䂷溘
03000SQL 臺埖儔橻䂷溘
(SQL STATEMENT NOT YET COMPLETE)
sql_statement_not_yet_complete
䌂 08 — 誂毖嚗婩
08000誂毖嚗婩
(CONNECTION EXCEPTION)
connection_exception
08003誂毖婉庻婘
(CONNECTION DOES NOT EXIST)
connection_does_not_exist
08006誂毖崌蘖
(CONNECTION FAILURE)
connection_failure
08001SQL 垵潙䆇婉脘傺䆋 SQL 誂毖
(SQLCLIENT UNABLE TO ESTABLISH SQLCONNECTION)
sqlclient_unable_to_establish_sqlconnection
08004SQL 橉媇単拐䂺傺䆋 SQL 誂毖
(SQLSERVER REJECTED ESTABLISHMENT OF SQLCONNECTION)
sqlserver_rejected_establishment_of_sqlconnection
08007橻䘖䔇庋媇蓼悊
(TRANSACTION RESOLUTION UNKNOWN)
transaction_resolution_unknown
08P01誺埉剟螞
(PROTOCOL VIOLATION)
protocol_violation
䌂 09 — 蓥埏単媘嘩嚗婩
09000蓥埏単媘嘩嚗婩
(TRIGGERED ACTION EXCEPTION)
triggered_action_exception
䌂 0A — 婉櫇毕䬹攓
0A000婉櫇毕溴䬹攓
(FEATURE NOT SUPPORTED)
feature_not_supported
䌂 0B — 麂濘庋媇彺哋寡
0B000麂濘庋媇彺哋寡
(INVALID TRANSACTION INITIATION)
invalid_transaction_initiation
䌂 0F — 垔嘉単嚗婩
0F000垔嘉単嚗婩
(LOCATOR EXCEPTION)
locator_exception
0F001麂濘䔇垔嘉単弄滯
(INVALID LOCATOR SPECIFICATION)
invalid_locator_specification
䌂 0L — 麂濘蕋溄庺
0L000麂濘蕋溄庺
(INVALID GRANTOR)
invalid_grantor
0LP01麂濘蕋溄淉嘩
(INVALID GRANT OPERATION)
invalid_grant_operation
䌂 0P — 麂濘蓐謾弄滯
0P000麂濘蓐謾弄滯
(INVALID ROLE SPECIFICATION)
invalid_role_specification
䌂 21 — 媪誺冋
21000媪誺冋
(CARDINALITY VIOLATION)
cardinality_violation
䌂 22 — 昄扞嚗婩
22000昄扞嚗婩
(DATA EXCEPTION)
data_exception
2202E昄䂇婋湺髍臇
(ARRAY SUBSCRIPT ERROR)
array_subscript_error
22021庖严婉婘庖崺喘䔇评啘喙
(CHARACTER NOT IN REPERTOIRE)
character_not_in_repertoire
22008斖橘施閘庖枕溵庺
(DATETIME FIELD OVERFLOW)
datetime_field_overflow
22012赆镽鍴
(DIVISION BY ZERO)
division_by_zero
22005蕋唚婺庺髍
(ERROR IN ASSIGNMENT)
error_in_assignment
2200B锄锩庖严喾仕
(ESCAPE CHARACTER CONFLICT)
escape_character_conflict
22022毺䴺単溵庺
(INDICATOR OVERFLOW)
indicator_overflow
22015喙鄘庖枕溵庺
(INTERVAL FIELD OVERFLOW)
interval_field_overflow
2201E凹昄誊䞖䔇麂濘埗昄
(INVALID ARGUMENT FOR LOGARITHM)
invalid_argument_for_logarithm
2201F毺昄庘昄䔇麂濘埗昄
(INVALID ARGUMENT FOR POWER FUNCTION)
invalid_argument_for_power_function
2201G垘懽庘昄䔇麂濘埗昄
(INVALID ARGUMENT FOR WIDTH BUCKET FUNCTION)
invalid_argument_for_width_bucket_function
22018䌂傋蘸扵施麂濘䔇庖严唚
(INVALID CHARACTER VALUE FOR CAST)
invalid_character_value_for_cast
22007麂濘斖橘施閘湚嚟
(INVALID DATETIME FORMAT)
invalid_datetime_format
22019麂濘䔇锄锩庖严
(INVALID ESCAPE CHARACTER)
invalid_escape_character
2200D麂濘䔇锄锩庖誗
(INVALID ESCAPE OCTET)
invalid_escape_octet
22025麂濘锄锩废彖
(INVALID ESCAPE SEQUENCE)
invalid_escape_sequence
22P06麂湺庖嘪䫘锄锩庖严
(NONSTANDARD USE OF ESCAPE CHARACTER)
nonstandard_use_of_escape_character
22010麂濘毺䴺単埗昄唚
(INVALID INDICATOR PARAMETER VALUE)
invalid_indicator_parameter_value
22020麂濘鍊彽唚
(INVALID LIMIT VALUE)
invalid_limit_value
22023麂濘埗昄唚
(INVALID PARAMETER VALUE)
invalid_parameter_value
2201B麂濘溼彍臘膆嚟
(INVALID REGULAR EXPRESSION)
invalid_regular_expression
22009麂濘施寺滆䴺唚
(INVALID TIME ZONE DISPLACEMENT VALUE)
invalid_time_zone_displacement_value
2200C麂濘嘪䫘锄锩庖严
(INVALID USE OF ESCAPE CHARACTER)
invalid_use_of_escape_character
2200G橔䕩噿䌂傋婉对陉
(MOST SPECIFIC TYPE MISMATCH)
most_specific_type_mismatch
22004婉噕螩 NULL 唚
(NULL VALUE NOT ALLOWED)
null_value_not_allowed
22002NULL 唚婉脘啔毺䴺単埗昄
(NULL VALUE NO INDICATOR PARAMETER)
null_value_no_indicator_parameter
22003昄庖唚轙庺评啘
(NUMERIC VALUE OUT OF RANGE)
numeric_value_out_of_range
22026庖严婾昄扞阪庥婉对陉
(STRING DATA LENGTH MISMATCH)
string_data_length_mismatch
22001庖严婾昄扞埿膹赆潻桺
(STRING DATA RIGHT TRUNCATION)
string_data_right_truncation
22011檘埡床庖严婾髍臇
(SUBSTRING ERROR)
substring_error
22027潻桺髍臇
(TRIM ERROR)
trim_error
22024橻䂷溘䔇 C 庖严婾
(UNTERMINATED C STRING)
unterminated_c_string
2200F镽阪庥䔇庖严婾
(ZERO LENGTH CHARACTER STRING)
zero_length_character_string
22P01敞䗹嚗婩
(FLOATING POINT EXCEPTION)
floating_point_exception
22P02麂濘桺橸臘䯄嘵嚟
(INVALID TEXT REPRESENTATION)
invalid_text_representation
22P03麂濘庯誕彽臘䯄嘵嚟
(INVALID BINARY REPRESENTATION)
invalid_binary_representation
22P04髍臇䔇 COPY 湚嚟
(BAD COPY FILE FORMAT)
bad_copy_file_format
22P05婉埇䪂臏庖严
(UNTRANSLATABLE CHARACTER)
untranslatable_character
䌂 23 — 誺埉垯昘攓亥溘
23000誺埉垯昘攓亥溘
(INTEGRITY CONSTRAINT VIOLATION)
integrity_constraint_violation
23001誺埉鍊彽
(RESTRICT VIOLATION)
restrict_violation
23502誺埉麂䷺
(NOT NULL VIOLATION)
not_null_violation
23503誺埉崡髞亥溘
(FOREIGN KEY VIOLATION)
foreign_key_violation
23505誺埉嫇婔亥溘
(UNIQUE VIOLATION)
unique_violation
23514誺埉演昖
(CHECK VIOLATION)
check_violation
䌂 24 — 麂濘橩湺䪽攕
24000麂濘橩湺䪽攕
(INVALID CURSOR STATE)
invalid_cursor_state
䌂 25 — 麂濘庋媇䪽攕
25000麂濘庋媇䪽攕
(INVALID TRANSACTION STATE)
invalid_transaction_state
25001昂虄䔇 SQL 䪽攕
(ACTIVE SQL TRANSACTION)
active_sql_transaction
25002彖櫇庋媇噾䂟檔昂
(BRANCH TRANSACTION ALREADY ACTIVE)
branch_transaction_already_active
25008毕橬䔇橩湺襕挗劯湙䔇锫䥂亓彆
(HELD CURSOR REQUIRES SAME ISOLATION LEVEL)
held_cursor_requires_same_isolation_level
25003凹彖櫇庋媇䔇婉敄嘷䔇螪閞桹嚟
(INAPPROPRIATE ACCESS MODE FOR BRANCH TRANSACTION)
inappropriate_access_mode_for_branch_transaction
25004凹彖櫇庋媇䔇婉敄嘷䔇锫䥂亓彆
(INAPPROPRIATE ISOLATION LEVEL FOR BRANCH TRANSACTION)
inappropriate_isolation_level_for_branch_transaction
25005彖櫇庋媇澇橬昂虄䔇 SQL 庋媇
(NO ACTIVE SQL TRANSACTION FOR BRANCH TRANSACTION)
no_active_sql_transaction_for_branch_transaction
25006埻臂䔇 SQL 庋媇
(READ ONLY SQL TRANSACTION)
read_only_sql_transaction
25007婉櫇毕晙启䔇昇嚟启昄扞臺埖
(SCHEMA AND DATA STATEMENT MIXING NOT SUPPORTED)
schema_and_data_statement_mixing_not_supported
25P01澇橬昂虄䔇 SQL 庋媇
(NO ACTIVE SQL TRANSACTION)
no_active_sql_transaction
25P02婘崌蘖䔇 SQL 庋媇婺
(IN FAILED SQL TRANSACTION)
in_failed_sql_transaction
䌂 26 — 麂濘 SQL 臺埖劉
26000麂濘 SQL 臺埖劉
(INVALID SQL STATEMENT NAME)
invalid_sql_statement_name
䌂 27 — 蓥埏䔇昄扞櫹埻誺蓇
27000蓥埏䔇昄扞櫹埻誺蓇
(TRIGGERED DATA CHANGE VIOLATION)
triggered_data_change_violation
䌂 28 — 麂濘毽溄弄滯
28000麂濘毽溄弄滯
(INVALID AUTHORIZATION SPECIFICATION)
invalid_authorization_specification
䌂 2B — 冺䇽庻婘冺蕡䔇嚻噽亓柟誄严
2B000冺䇽庻婘冺蕡䔇嚻噽亓柟誄严
(DEPENDENT PRIVILEGE DESCRIPTORS STILL EXIST)
dependent_privilege_descriptors_still_exist
2BP01冺蕡攓凹茇傉䇽庻婘
(DEPENDENT OBJECTS STILL EXIST)
dependent_objects_still_exist
䌂 2D — 麂濘䔇庋媇䂽溵
2D000麂濘䔇庋媇䂽溵
(INVALID TRANSACTION TERMINATION)
invalid_transaction_termination
䌂 2F — SQL 誺䘋嚗婩
2F000SQL 誺䘋嚗婩
(SQL ROUTINE EXCEPTION)
sql_routine_exception
2F005欓臯䔇庘昄澇橬誫啂臺埖
(FUNCTION EXECUTED NO RETURN STATEMENT)
function_executed_no_return_statement
2F002婉噕螩媞櫹 SQL 昄扞
(MODIFYING SQL DATA NOT PERMITTED)
modifying_sql_data_not_permitted
2F003嚕商嘪䫘䥕溵䔇 SQL 臺埖
(PROHIBITED SQL STATEMENT ATTEMPTED)
prohibited_sql_statement_attempted
2F004婉噕螩臂埡 SQL 昄扞
(READING SQL DATA NOT PERMITTED)
reading_sql_data_not_permitted
䌂 34 — 麂濘橩湺劉
34000麂濘橩湺劉
(INVALID CURSOR NAME)
invalid_cursor_name
䌂 38 — 崡鄘誺䘋嚗婩
38000崡鄘誺䘋嚗婩
(EXTERNAL ROUTINE EXCEPTION)
external_routine_exception
38001婉噕螩寙劆䔇 SQL
(CONTAINING SQL NOT PERMITTED)
containing_sql_not_permitted
38002婉噕螩媞櫹 SQL 昄扞
(MODIFYING SQL DATA NOT PERMITTED)
modifying_sql_data_not_permitted
38003嚕商嘪䫘䥕溵䔇 SQL 臺埖
(PROHIBITED SQL STATEMENT ATTEMPTED)
prohibited_sql_statement_attempted
38004婉噕螩臂埡 SQL 昄扞
(READING SQL DATA NOT PERMITTED)
reading_sql_data_not_permitted
䌂 39 — 崡鄘誺䘋脄䫘嚗婩
39000崡鄘誺䘋脄䫘嚗婩
(EXTERNAL ROUTINE INVOCATION EXCEPTION)
external_routine_invocation_exception
39001誫啂庖麂濘䔇 SQLSTATE
(INVALID SQLSTATE RETURNED)
invalid_sqlstate_returned
39004婉噕螩 NULL
(NULL VALUE NOT ALLOWED)
null_value_not_allowed
39P01誺埉蓥埏単剟螞
(TRIGGER PROTOCOL VIOLATED)
trigger_protocol_violated
39P02誺埉 SRF 剟螞
(SRF PROTOCOL VIOLATED)
srf_protocol_violated
䌂 3B — 媺庻䗹嚗婩
3B000媺庻䗹嚗婩
(SAVEPOINT EXCEPTION)
savepoint_exception
3B001方昽䔇媺庻䗹弄滯
(INVALID SAVEPOINT SPECIFICATION)
invalid_savepoint_specification
䌂 3D — 麂濘昄扞康劉
3D000麂濘昄扞康劉
(INVALID CATALOG NAME)
invalid_catalog_name
䌂 3F — 麂濘昇嚟劉
3F000麂濘昇嚟劉
(INVALID SCHEMA NAME)
invalid_schema_name
䌂 40 — 庋媇啂悔
40000庋媇啂悔
(TRANSACTION ROLLBACK)
transaction_rollback
40002誺埉庋媇垯昘攓亥溘
(TRANSACTION INTEGRITY CONSTRAINT VIOLATION)
transaction_integrity_constraint_violation
40001婾臯寡崌蘖
(SERIALIZATION FAILURE)
serialization_failure
40003婉䘖長臺埖滇劥䂷溘
(STATEMENT COMPLETION UNKNOWN)
statement_completion_unknown
40P01冥敋彄溂髕
(DEADLOCK DETECTED)
deadlock_detected
䌂 42 — 臺濘髍臇潡蔙誺埉螪閞蓇彍
42000臺濘髍臇潡蔙誺埉螪閞蓇彍
(SYNTAX ERROR OR ACCESS RULE VIOLATION)
syntax_error_or_access_rule_violation
42601臺濘髍臇
(SYNTAX ERROR)
syntax_error
42501溄鍊婉崘
(INSUFFICIENT PRIVILEGE)
insufficient_privilege
42846方濘誕臯䌂傋蘸扵
(CANNOT COERCE)
cannot_coerce
42803彖䂇髍臇
(GROUPING ERROR)
grouping_error
42830麂濘䔇崡髞
(INVALID FOREIGN KEY)
invalid_foreign_key
42602麂濘劉庖
(INVALID NAME)
invalid_name
42622劉庖崻阪
(NAME TOO LONG)
name_too_long
42939媺䘍劉庖
(RESERVED NAME)
reserved_name
42804昄扞䌂傋婉对陉
(DATATYPE MISMATCH)
datatype_mismatch
42P18橻喿䔇昄扞䌂傋
(INDETERMINATE DATATYPE)
indeterminate_datatype
42809髍臇䔇凹茇䌂傋
(WRONG OBJECT TYPE)
wrong_object_type
42703橻垔幬䔇庖枕
(UNDEFINED COLUMN)
undefined_column
42883橻垔幬䔇庘昄
(UNDEFINED FUNCTION)
undefined_function
42P01橻垔幬䔇臘
(UNDEFINED TABLE)
undefined_table
42P02橻垔幬䔇埗昄
(UNDEFINED PARAMETER)
undefined_parameter
42704橻垔幬凹茇
(UNDEFINED OBJECT)
undefined_object
42701麉崉䔇庖枕
(DUPLICATE COLUMN)
duplicate_column
42P03麉崉䔇橩湺
(DUPLICATE CURSOR)
duplicate_cursor
42P04麉崉䔇昄扞康
(DUPLICATE DATABASE)
duplicate_database
42723麉崉䔇庘昄
(DUPLICATE FUNCTION)
duplicate_function
42P05麉崉䔇鵇崺臺埖
(DUPLICATE PREPARED STATEMENT)
duplicate_prepared_statement
42P06麉崉䔇昇嚟
(DUPLICATE SCHEMA)
duplicate_schema
42P07麉崉䔇臘
(DUPLICATE TABLE)
duplicate_table
42712麉崉䔇彆劉
(DUPLICATE ALIAS)
duplicate_alias
42710麉崉䔇凹茇
(DUPLICATE OBJECT)
duplicate_object
42702昇俪䔇庖枕
(AMBIGUOUS COLUMN)
ambiguous_column
42725昇俪䔇庘昄
(AMBIGUOUS FUNCTION)
ambiguous_function
42P08昇俪䔇埗昄
(AMBIGUOUS PARAMETER)
ambiguous_parameter
42P09昇俪䔇彆劉
(AMBIGUOUS ALIAS)
ambiguous_alias
42P10麂濘庖枕嚘䫘
(INVALID COLUMN REFERENCE)
invalid_column_reference
42611麂濘庖枕垔幬
(INVALID COLUMN DEFINITION)
invalid_column_definition
42P11麂濘橩湺垔幬
(INVALID CURSOR DEFINITION)
invalid_cursor_definition
42P12麂濘昄扞康垔幬
(INVALID DATABASE DEFINITION)
invalid_database_definition
42P13麂濘庘昄垔幬
(INVALID FUNCTION DEFINITION)
invalid_function_definition
42P14麂濘鵇崺臺埖垔幬
(INVALID PREPARED STATEMENT DEFINITION)
invalid_prepared_statement_definition
42P15麂濘昇嚟垔幬
(INVALID SCHEMA DEFINITION)
invalid_schema_definition
42P16麂濘臘垔幬
(INVALID TABLE DEFINITION)
invalid_table_definition
42P17麂濘凹茇垔幬
(INVALID OBJECT DEFINITION)
invalid_object_definition
䌂 44 — 誺埉 WITH CHECK 锬釹
44000誺埉 WITH CHECK 锬釹
(WITH CHECK OPTION VIOLATION)
with_check_option_violation
䌂 53 — 蕇溊婉崘
53000蕇溊婉崘
(INSUFFICIENT RESOURCES)
insufficient_resources
53100伕䕻悇
(DISK FULL)
disk_full
53200喙庻蔖儘
(OUT OF MEMORY)
out_of_memory
53300崻崔誂毖
(TOO MANY CONNECTIONS)
too_many_connections
䌂 54 — 轙誺䘋废鍊彽
54000轙誺䘋废鍊彽
(PROGRAM LIMIT EXCEEDED)
program_limit_exceeded
54001臺埖崻崉溗
(STATEMENT TOO COMPLEX)
statement_too_complex
54011庖枕崻崔
(TOO MANY COLUMNS)
too_many_columns
54023埗昄崻崔
(TOO MANY ARGUMENTS)
too_many_arguments
䌂 55 — 凹茇婉婘鵇噽襕挗䔇䪽攕
55000凹茇婉婘鵇噽襕挗䔇䪽攕
(OBJECT NOT IN PREREQUISITE STATE)
object_not_in_prerequisite_state
55006凹茇婘嘪䫘婺
(OBJECT IN USE)
object_in_use
55P02方濘媞櫹誊臯施埗昄
(CANT CHANGE RUNTIME PARAM)
cant_change_runtime_param
55P03髕婉埇诙冖
(LOCK NOT AVAILABLE)
lock_not_available
䌂 57 — 淉嘩蔙幾潬
57000淉嘩蔙幾潬
(OPERATOR INTERVENTION)
operator_intervention
57014昖臵赆埡潽
(QUERY CANCELED)
query_canceled
57P01䞇䊖叻噿橺
(ADMIN SHUTDOWN)
admin_shutdown
57P02嘷溄噿橺
(CRASH SHUTDOWN)
crash_shutdown
57P03䯄婘方濘誂毖
(CANNOT CONNECT NOW)
cannot_connect_now
䌂 58 — 係䂘髍臇(PostgreSQL 躻噌喙鄘䔇髍臇)
58030IO 髍臇
(IO ERROR)
io_error
58P01橻垔幬䔇桺傽
(UNDEFINED FILE)
undefined_file
58P02麉崉䔇桺傽
(DUPLICATE FILE)
duplicate_file
䌂 F0 — 陉䘞桺傽髍臇
F0000陉䘞桺傽髍臇
(CONFIG FILE ERROR)
config_file_error
F0001髕桺傽庻婘
(LOCK FILE EXISTS)
lock_file_exists
䌂 P0 — PL/pgSQL 髍臇
P0000PLPGSQL 髍臇
(PLPGSQL ERROR)
plpgsql_error
P0001檕庺嚗婩
(RAISE EXCEPTION)
raise_exception
P0002橻欆彄昄扞
(NO DATA FOUND)
no_data_found
P0003臯崻崔
(TOO MANY ROWS)
too_many_rows
䌂 XX — 喙鄘髍臇
XX000喙鄘髍臇
(INTERNAL ERROR)
internal_error
XX001昄扞托废
(DATA CORRUPTED)
data_corrupted
XX002䘵嚘托废
(INDEX CORRUPTED)
index_corrupted

劯锔饡釕嬉誕
鍇嘘婪婔亓斖橘/施閘櫇毕