summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_range.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-11-14 13:59:34 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-11-14 13:59:34 -0500
commitf1585362856d4da17113ba2e4ba46cf83cba0cf2 (patch)
treea7bd6b1823d7c562cd6724c70c9f0d70ba207e6f /src/include/catalog/pg_range.h
parent1a2586c1d0d458235b3241834f3f755410301c64 (diff)
downloadpostgresql-f1585362856d4da17113ba2e4ba46cf83cba0cf2.tar.gz
Fix copyright notices, other minor editing in new range-types code.
No functional changes in this commit (except I could not resist the temptation to re-word a couple of error messages). This is just manual cleanup after pgindent to make the code look reasonably like other PG code, in preparation for more detailed code review to come.
Diffstat (limited to 'src/include/catalog/pg_range.h')
-rw-r--r--src/include/catalog/pg_range.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/include/catalog/pg_range.h b/src/include/catalog/pg_range.h
index 19b437db8d..3826976e82 100644
--- a/src/include/catalog/pg_range.h
+++ b/src/include/catalog/pg_range.h
@@ -5,7 +5,8 @@
* along with the relation's initial contents.
*
*
- * Copyright (c) 2006-2010, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/catalog/pg_range.h
*
@@ -59,16 +60,6 @@ typedef FormData_pg_range *Form_pg_range;
#define Anum_pg_range_rngcanonical 5
#define Anum_pg_range_rngsubdiff 6
-#define RANGE_DEFAULT_FLAGS "[)"
-
-/*
- * prototypes for functions in pg_range.c
- */
-
-extern void RangeCreate(Oid rangeTypeOid, Oid rangeSubType, Oid rangeCollation,
- Oid rangeSubOpclass, RegProcedure rangeCanonical,
- RegProcedure rangeSubDiff);
-extern void RangeDelete(Oid rangeTypeOid);
/* ----------------
* initial contents of pg_range
@@ -81,4 +72,14 @@ DATA(insert ( 3910 1184 0 10047 - tstzrange_subdiff));
DATA(insert ( 3912 1082 0 10019 daterange_canonical daterange_subdiff));
DATA(insert ( 3926 20 0 10029 int8range_canonical int8range_subdiff));
+
+/*
+ * prototypes for functions in pg_range.c
+ */
+
+extern void RangeCreate(Oid rangeTypeOid, Oid rangeSubType, Oid rangeCollation,
+ Oid rangeSubOpclass, RegProcedure rangeCanonical,
+ RegProcedure rangeSubDiff);
+extern void RangeDelete(Oid rangeTypeOid);
+
#endif /* PG_RANGE_H */