Skip to content

Commit 42f1f96

Browse files
committed
Update codegen to Postgres 12
They've removed the old header files so some updates were required
1 parent d8b5412 commit 42f1f96

File tree

6 files changed

+871
-959
lines changed

6 files changed

+871
-959
lines changed

codegen/src/pg_range.dat

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#----------------------------------------------------------------------
2+
#
3+
# pg_range.dat
4+
# Initial contents of the pg_range system catalog.
5+
#
6+
# Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
7+
# Portions Copyright (c) 1994, Regents of the University of California
8+
#
9+
# src/include/catalog/pg_range.dat
10+
#
11+
#----------------------------------------------------------------------
12+
13+
[
14+
15+
{ rngtypid => 'int4range', rngsubtype => 'int4', rngsubopc => 'btree/int4_ops',
16+
rngcanonical => 'int4range_canonical', rngsubdiff => 'int4range_subdiff' },
17+
{ rngtypid => 'numrange', rngsubtype => 'numeric',
18+
rngsubopc => 'btree/numeric_ops', rngcanonical => '-',
19+
rngsubdiff => 'numrange_subdiff' },
20+
{ rngtypid => 'tsrange', rngsubtype => 'timestamp',
21+
rngsubopc => 'btree/timestamp_ops', rngcanonical => '-',
22+
rngsubdiff => 'tsrange_subdiff' },
23+
{ rngtypid => 'tstzrange', rngsubtype => 'timestamptz',
24+
rngsubopc => 'btree/timestamptz_ops', rngcanonical => '-',
25+
rngsubdiff => 'tstzrange_subdiff' },
26+
{ rngtypid => 'daterange', rngsubtype => 'date', rngsubopc => 'btree/date_ops',
27+
rngcanonical => 'daterange_canonical', rngsubdiff => 'daterange_subdiff' },
28+
{ rngtypid => 'int8range', rngsubtype => 'int8', rngsubopc => 'btree/int8_ops',
29+
rngcanonical => 'int8range_canonical', rngsubdiff => 'int8range_subdiff' },
30+
31+
]

codegen/src/pg_range.h

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)