Skip to content

Commit d9ef7e9

Browse files
author
Thomas G. Lockhart
committed
Add support for AT TIME ZONE syntax.
1 parent 07272c6 commit d9ef7e9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/include/utils/timestamp.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: timestamp.h,v 1.10 2000/08/29 04:41:48 momjian Exp $
9+
* $Id: timestamp.h,v 1.11 2000/11/06 16:05:25 thomas Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -35,10 +35,8 @@ typedef double Timestamp;
3535

3636
typedef struct
3737
{
38-
double time; /* all time units other than months and
39-
* years */
40-
int4 month; /* months and years, after time for
41-
* alignment */
38+
double time; /* all time units other than months and years */
39+
int4 month; /* months and years, after time for alignment */
4240
} Interval;
4341

4442

@@ -164,6 +162,7 @@ extern Datum interval_trunc(PG_FUNCTION_ARGS);
164162
extern Datum timestamp_part(PG_FUNCTION_ARGS);
165163
extern Datum interval_part(PG_FUNCTION_ARGS);
166164
extern Datum timestamp_zone(PG_FUNCTION_ARGS);
165+
extern Datum timestamp_izone(PG_FUNCTION_ARGS);
167166

168167
extern Datum interval_um(PG_FUNCTION_ARGS);
169168
extern Datum interval_pl(PG_FUNCTION_ARGS);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy