]> granicus.if.org Git - postgresql/commitdiff
Fix timestamp_date for HAVE_INT64_TIMESTAMP case. REL7_3_4
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Jul 2003 04:38:27 +0000 (04:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Jul 2003 04:38:27 +0000 (04:38 +0000)
src/backend/utils/adt/date.c

index 347d82be07aa0e1a2403d355eeffb26bd98ef7df..1d710c562048c20eaac90f8c523eba4a3224f28c 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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)
        DateADT         result;
        struct tm       tt,
                           *tm = &tt;
-       double          fsec;
+       fsec_t          fsec;
 
        if (TIMESTAMP_NOT_FINITE(timestamp))
                PG_RETURN_NULL();