Skip to content

Commit 7509d34

Browse files
committed
Update codegen to Postgres 9.6 RC1
1 parent 842bdaf commit 7509d34

6 files changed

Lines changed: 285 additions & 256 deletions

File tree

codegen/src/errcodes.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# errcodes.txt
33
# PostgreSQL error codes
44
#
5-
# Copyright (c) 2003-2015, PostgreSQL Global Development Group
5+
# Copyright (c) 2003-2016, PostgreSQL Global Development Group
66
#
77
# This list serves as the basis for generating source files containing error
88
# codes. It is kept in a common format to make sure all these source files have
@@ -15,6 +15,9 @@
1515
# src/pl/plpgsql/src/plerrcodes.h
1616
# a list of PL/pgSQL condition names and their SQLSTATE codes
1717
#
18+
# src/pl/tcl/pltclerrcodes.h
19+
# the same, for PL/Tcl
20+
#
1821
# doc/src/sgml/errcodes-list.sgml
1922
# a SGML table of error codes for inclusion in the documentation
2023
#
@@ -229,6 +232,7 @@ Section: Class 25 - Invalid Transaction State
229232
25007 E ERRCODE_SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED schema_and_data_statement_mixing_not_supported
230233
25P01 E ERRCODE_NO_ACTIVE_SQL_TRANSACTION no_active_sql_transaction
231234
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
232236

233237
Section: Class 26 - Invalid SQL Statement Name
234238

@@ -413,6 +417,10 @@ Section: Class 58 - System Error (errors external to PostgreSQL itself)
413417
58P01 E ERRCODE_UNDEFINED_FILE undefined_file
414418
58P02 E ERRCODE_DUPLICATE_FILE duplicate_file
415419

420+
Section: Class 72 - Snapshot Failure
421+
# (class borrowed from Oracle)
422+
72000 E ERRCODE_SNAPSHOT_TOO_OLD snapshot_too_old
423+
416424
Section: Class F0 - Configuration File Error
417425

418426
# (PostgreSQL-specific error class)

codegen/src/pg_range.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* along with the relation's initial contents.
66
*
77
*
8-
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
8+
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
1111
* src/include/catalog/pg_range.h

codegen/src/pg_type.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* along with the relation's initial contents.
66
*
77
*
8-
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
8+
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
1111
* src/include/catalog/pg_type.h
@@ -694,6 +694,8 @@ DATA(insert OID = 3500 ( anyenum PGNSP PGUID 4 t p P f t \054 0 0 0 anyenum_in
694694
#define ANYENUMOID 3500
695695
DATA(insert OID = 3115 ( fdw_handler PGNSP PGUID 4 t p P f t \054 0 0 0 fdw_handler_in fdw_handler_out - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ ));
696696
#define FDW_HANDLEROID 3115
697+
DATA(insert OID = 325 ( index_am_handler PGNSP PGUID 4 t p P f t \054 0 0 0 index_am_handler_in index_am_handler_out - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ ));
698+
#define INDEX_AM_HANDLEROID 325
697699
DATA(insert OID = 3310 ( tsm_handler PGNSP PGUID 4 t p P f t \054 0 0 0 tsm_handler_in tsm_handler_out - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ ));
698700
#define TSM_HANDLEROID 3310
699701
DATA(insert OID = 3831 ( anyrange PGNSP PGUID -1 f p P f t \054 0 0 0 anyrange_in anyrange_out - - - - - d x f 0 -1 0 0 _null_ _null_ _null_ ));

0 commit comments

Comments
 (0)