summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorThomas G. Lockhart2000-12-03 14:51:12 +0000
committerThomas G. Lockhart2000-12-03 14:51:12 +0000
commit6969b8fa1194dafdc24e38fccf4acbb32419967e (patch)
treea69a2f308d09d30ffa3b12b9e84c2ea4ef71c0c9 /src/include/utils
parent1131261270e74dd8a7cf7a3e99c1f3c71175ebe9 (diff)
Repair usage of the OVERLAPS operator.
Allow some operator-like tokens to be used as function names. Flesh out support for time, timetz, and interval operators and interactions. Regression tests pass, but non-reference-platform horology test results will need to be updated.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/date.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/utils/date.h b/src/include/utils/date.h
index 19c7efff42d..a964d09a309 100644
--- a/src/include/utils/date.h
+++ b/src/include/utils/date.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: date.h,v 1.6 2000/11/11 19:55:39 thomas Exp $
+ * $Id: date.h,v 1.7 2000/12/03 14:51:11 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -87,8 +87,12 @@ extern Datum time_larger(PG_FUNCTION_ARGS);
extern Datum time_smaller(PG_FUNCTION_ARGS);
extern Datum timestamp_time(PG_FUNCTION_ARGS);
extern Datum time_interval(PG_FUNCTION_ARGS);
+extern Datum interval_time(PG_FUNCTION_ARGS);
extern Datum text_time(PG_FUNCTION_ARGS);
extern Datum time_text(PG_FUNCTION_ARGS);
+extern Datum time_pl_interval(PG_FUNCTION_ARGS);
+extern Datum time_mi_interval(PG_FUNCTION_ARGS);
+extern Datum interval_pl_time(PG_FUNCTION_ARGS);
extern Datum timetz_in(PG_FUNCTION_ARGS);
extern Datum timetz_out(PG_FUNCTION_ARGS);
@@ -107,5 +111,7 @@ extern Datum timestamp_timetz(PG_FUNCTION_ARGS);
extern Datum datetimetz_timestamp(PG_FUNCTION_ARGS);
extern Datum text_timetz(PG_FUNCTION_ARGS);
extern Datum timetz_text(PG_FUNCTION_ARGS);
+extern Datum timetz_pl_interval(PG_FUNCTION_ARGS);
+extern Datum timetz_mi_interval(PG_FUNCTION_ARGS);
#endif /* DATE_H */