aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>2000-11-06 16:05:25 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>2000-11-06 16:05:25 +0000
commitd9ef7e9ec767313273a37fbfe2f4f5ff5aa44089 (patch)
treebfb2ea2895e4bcd570e481ece9e58eae44224d6a /src
parent07272c6f8baca5d2950b228f3c962af2d635ad13 (diff)
downloadpostgresql-d9ef7e9ec767313273a37fbfe2f4f5ff5aa44089.tar.gz
postgresql-d9ef7e9ec767313273a37fbfe2f4f5ff5aa44089.zip
Add support for AT TIME ZONE syntax.
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/timestamp.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/include/utils/timestamp.h b/src/include/utils/timestamp.h
index 5ee3575d1fa..e67a1ebcbd9 100644
--- a/src/include/utils/timestamp.h
+++ b/src/include/utils/timestamp.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* 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
{
- double time; /* all time units other than months and
- * years */
- int4 month; /* months and years, after time for
- * alignment */
+ double time; /* all time units other than months and years */
+ int4 month; /* months and years, after time for alignment */
} Interval;
@@ -164,6 +162,7 @@ extern Datum interval_trunc(PG_FUNCTION_ARGS);
extern Datum timestamp_part(PG_FUNCTION_ARGS);
extern Datum interval_part(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_pl(PG_FUNCTION_ARGS);