Commit 0643b6a1 authored by Tom Lane's avatar Tom Lane

Fix timestamp_date for HAVE_INT64_TIMESTAMP case.

parent d36fef11
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.85 2003/07/24 00:21:26 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.86 2003/07/24 04:38:19 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -350,7 +350,7 @@ timestamp_date(PG_FUNCTION_ARGS) ...@@ -350,7 +350,7 @@ timestamp_date(PG_FUNCTION_ARGS)
DateADT result; DateADT result;
struct tm tt, struct tm tt,
*tm = &tt; *tm = &tt;
double fsec; fsec_t fsec;
if (TIMESTAMP_NOT_FINITE(timestamp)) if (TIMESTAMP_NOT_FINITE(timestamp))
PG_RETURN_NULL(); PG_RETURN_NULL();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment