|
2 | 2 | # errcodes.txt |
3 | 3 | # PostgreSQL error codes |
4 | 4 | # |
5 | | -# Copyright (c) 2003-2015, PostgreSQL Global Development Group |
| 5 | +# Copyright (c) 2003-2016, PostgreSQL Global Development Group |
6 | 6 | # |
7 | 7 | # This list serves as the basis for generating source files containing error |
8 | 8 | # codes. It is kept in a common format to make sure all these source files have |
|
15 | 15 | # src/pl/plpgsql/src/plerrcodes.h |
16 | 16 | # a list of PL/pgSQL condition names and their SQLSTATE codes |
17 | 17 | # |
| 18 | +# src/pl/tcl/pltclerrcodes.h |
| 19 | +# the same, for PL/Tcl |
| 20 | +# |
18 | 21 | # doc/src/sgml/errcodes-list.sgml |
19 | 22 | # a SGML table of error codes for inclusion in the documentation |
20 | 23 | # |
@@ -229,6 +232,7 @@ Section: Class 25 - Invalid Transaction State |
229 | 232 | 25007 E ERRCODE_SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED schema_and_data_statement_mixing_not_supported |
230 | 233 | 25P01 E ERRCODE_NO_ACTIVE_SQL_TRANSACTION no_active_sql_transaction |
231 | 234 | 25P02 E ERRCODE_IN_FAILED_SQL_TRANSACTION in_failed_sql_transaction |
| 235 | +25P03 E ERRCODE_IDLE_IN_TRANSACTION_SESSION_TIMEOUT idle_in_transaction_session_timeout |
232 | 236 |
|
233 | 237 | Section: Class 26 - Invalid SQL Statement Name |
234 | 238 |
|
@@ -413,6 +417,10 @@ Section: Class 58 - System Error (errors external to PostgreSQL itself) |
413 | 417 | 58P01 E ERRCODE_UNDEFINED_FILE undefined_file |
414 | 418 | 58P02 E ERRCODE_DUPLICATE_FILE duplicate_file |
415 | 419 |
|
| 420 | +Section: Class 72 - Snapshot Failure |
| 421 | +# (class borrowed from Oracle) |
| 422 | +72000 E ERRCODE_SNAPSHOT_TOO_OLD snapshot_too_old |
| 423 | + |
416 | 424 | Section: Class F0 - Configuration File Error |
417 | 425 |
|
418 | 426 | # (PostgreSQL-specific error class) |
|
0 commit comments