From 6969b8fa1194dafdc24e38fccf4acbb32419967e Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Sun, 3 Dec 2000 14:51:12 +0000 Subject: 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. --- src/include/utils/date.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/include/utils') 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 */ -- cgit v1.2.3