|
6 | 6 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - * $Id: timestamp.h,v 1.19 2001/10/0305:29:25 thomas Exp $ |
| 9 | + * $Id: timestamp.h,v 1.20 2001/10/0315:42:12 tgl Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -49,7 +49,7 @@ typedef struct
|
49 | 49 | * Therefore Timestamp is pass-by-reference if and only if float8 is!
|
50 | 50 | */
|
51 | 51 | #defineDatumGetTimestamp(X) ((Timestamp) DatumGetFloat8(X))
|
52 |
| -#defineDatumGetTimestampTz(X) ((Timestamp) DatumGetFloat8(X)) |
| 52 | +#defineDatumGetTimestampTz(X) ((TimestampTz) DatumGetFloat8(X)) |
53 | 53 | #defineDatumGetIntervalP(X) ((Interval *) DatumGetPointer(X))
|
54 | 54 |
|
55 | 55 | #defineTimestampGetDatum(X) Float8GetDatum(X)
|
|