diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-03 15:42:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-03 15:42:12 +0000 |
commit | a390975cc14f76ff12c8b3fd97fc95510fed8a18 (patch) | |
tree | 1895b844d9061fbd83a793193b5b2f51578afe6c /src | |
parent | 3e1beda2cde3495f41290e1ece5d544525810214 (diff) | |
download | postgresql-a390975cc14f76ff12c8b3fd97fc95510fed8a18.tar.gz postgresql-a390975cc14f76ff12c8b3fd97fc95510fed8a18.zip |
Neatnik fetishism.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/utils/timestamp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/timestamp.h b/src/include/utils/timestamp.h index a354a38a453..1a5f28f592c 100644 --- a/src/include/utils/timestamp.h +++ b/src/include/utils/timestamp.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: timestamp.h,v 1.19 2001/10/03 05:29:25 thomas Exp $ + * $Id: timestamp.h,v 1.20 2001/10/03 15:42:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -49,7 +49,7 @@ typedef struct * Therefore Timestamp is pass-by-reference if and only if float8 is! */ #define DatumGetTimestamp(X) ((Timestamp) DatumGetFloat8(X)) -#define DatumGetTimestampTz(X) ((Timestamp) DatumGetFloat8(X)) +#define DatumGetTimestampTz(X) ((TimestampTz) DatumGetFloat8(X)) #define DatumGetIntervalP(X) ((Interval *) DatumGetPointer(X)) #define TimestampGetDatum(X) Float8GetDatum(X) |