Fix timestamp_date for HAVE_INT64_TIMESTAMP case.

This commit is contained in:
Tom Lane 2003-07-24 04:38:19 +00:00
parent d36fef11d0
commit 0643b6a1ba
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
*
*
* 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)
DateADT result;
struct tm tt,
*tm = &tt;
double fsec;
fsec_t fsec;
if (TIMESTAMP_NOT_FINITE(timestamp))
PG_RETURN_NULL();