Add support for AT TIME ZONE syntax.

This commit is contained in:
Thomas G. Lockhart 2000-11-06 16:05:25 +00:00
parent 07272c6f8b
commit d9ef7e9ec7

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: timestamp.h,v 1.10 2000/08/29 04:41:48 momjian Exp $ * $Id: timestamp.h,v 1.11 2000/11/06 16:05:25 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -35,10 +35,8 @@ typedef double Timestamp;
typedef struct typedef struct
{ {
double time; /* all time units other than months and double time; /* all time units other than months and years */
* years */ int4 month; /* months and years, after time for alignment */
int4 month; /* months and years, after time for
* alignment */
} Interval; } Interval;
@ -164,6 +162,7 @@ extern Datum interval_trunc(PG_FUNCTION_ARGS);
extern Datum timestamp_part(PG_FUNCTION_ARGS); extern Datum timestamp_part(PG_FUNCTION_ARGS);
extern Datum interval_part(PG_FUNCTION_ARGS); extern Datum interval_part(PG_FUNCTION_ARGS);
extern Datum timestamp_zone(PG_FUNCTION_ARGS); extern Datum timestamp_zone(PG_FUNCTION_ARGS);
extern Datum timestamp_izone(PG_FUNCTION_ARGS);
extern Datum interval_um(PG_FUNCTION_ARGS); extern Datum interval_um(PG_FUNCTION_ARGS);
extern Datum interval_pl(PG_FUNCTION_ARGS); extern Datum interval_pl(PG_FUNCTION_ARGS);