|
PostgreSQL9.x SQLSTATEの例 |
|
|
エラーコード |
条件名 |
|
クラス 00 — 正常終了 |
|
|
00000 |
successful_completion |
|
クラス 01 — 警告 |
|
|
01000 |
warning |
|
0100C |
dynamic_result_sets_returned |
|
01008 |
implicit_zero_bit_padding |
|
01003 |
null_value_eliminated_in_set_function |
|
01007 |
privilege_not_granted |
|
01006 |
privilege_not_revoked |
|
01004 |
string_data_right_truncation |
|
01P01 |
deprecated_feature |
|
クラス 02 — データがない。(SQL標準ではこれは警告クラス) |
|
|
02000 |
no_data |
|
02001 |
no_additional_dynamic_result_sets_returned |
|
クラス 03 — SQL文の未完了 |
|
|
03000 |
sql_statement_not_yet_complete |
|
クラス 08 — 接続の例外 |