Skip to content
Snippets Groups Projects
Commit 091b9c21 authored by Tom Lane's avatar Tom Lane
Browse files

Fix timestamp_date for HAVE_INT64_TIMESTAMP case.

parent 5a8e5374
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.73.2.6 2003/07/24 00:21:31 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.73.2.7 2003/07/24 04:38:27 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -321,7 +321,7 @@ timestamp_date(PG_FUNCTION_ARGS) ...@@ -321,7 +321,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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment