summaryrefslogtreecommitdiffstats
path: root/src/include/catalog/pg_range.dat
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/catalog/pg_range.dat')
-rw-r--r--src/include/catalog/pg_range.dat34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/include/catalog/pg_range.dat b/src/include/catalog/pg_range.dat
new file mode 100644
index 0000000..3d9ebbc
--- /dev/null
+++ b/src/include/catalog/pg_range.dat
@@ -0,0 +1,34 @@
+#----------------------------------------------------------------------
+#
+# pg_range.dat
+# Initial contents of the pg_range system catalog.
+#
+# Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+# Portions Copyright (c) 1994, Regents of the University of California
+#
+# src/include/catalog/pg_range.dat
+#
+#----------------------------------------------------------------------
+
+[
+
+{ rngtypid => 'int4range', rngsubtype => 'int4',
+ rngmultitypid => 'int4multirange', rngsubopc => 'btree/int4_ops',
+ rngcanonical => 'int4range_canonical', rngsubdiff => 'int4range_subdiff' },
+{ rngtypid => 'numrange', rngsubtype => 'numeric',
+ rngmultitypid => 'nummultirange', rngsubopc => 'btree/numeric_ops',
+ rngcanonical => '-', rngsubdiff => 'numrange_subdiff' },
+{ rngtypid => 'tsrange', rngsubtype => 'timestamp',
+ rngmultitypid => 'tsmultirange', rngsubopc => 'btree/timestamp_ops',
+ rngcanonical => '-', rngsubdiff => 'tsrange_subdiff' },
+{ rngtypid => 'tstzrange', rngsubtype => 'timestamptz',
+ rngmultitypid => 'tstzmultirange', rngsubopc => 'btree/timestamptz_ops',
+ rngcanonical => '-', rngsubdiff => 'tstzrange_subdiff' },
+{ rngtypid => 'daterange', rngsubtype => 'date',
+ rngmultitypid => 'datemultirange', rngsubopc => 'btree/date_ops',
+ rngcanonical => 'daterange_canonical', rngsubdiff => 'daterange_subdiff' },
+{ rngtypid => 'int8range', rngsubtype => 'int8',
+ rngmultitypid => 'int8multirange', rngsubopc => 'btree/int8_ops',
+ rngcanonical => 'int8range_canonical', rngsubdiff => 'int8range_subdiff' },
+
+]