Skip to content

Commit 0643b6a

Browse files
committed
Fix timestamp_date for HAVE_INT64_TIMESTAMP case.
1 parent d36fef1 commit 0643b6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.85 2003/07/24 00:21:26 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.86 2003/07/24 04:38:19 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -350,7 +350,7 @@ timestamp_date(PG_FUNCTION_ARGS)
350350
DateADT result;
351351
struct tm tt,
352352
*tm = &tt;
353-
double fsec;
353+
fsec_t fsec;
354354

355355
if (TIMESTAMP_NOT_FINITE(timestamp))
356356
PG_RETURN_NULL();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy