I just noticed a new compile warning on date.c. Attached patch fixes it.

Joe
Index: src/backend/utils/adt/date.c
===================================================================
RCS file: /opt/src/cvs/pgsql-server/src/backend/utils/adt/date.c,v
retrieving revision 1.85
diff -c -r1.85 date.c
*** src/backend/utils/adt/date.c        24 Jul 2003 00:21:26 -0000      1.85
--- src/backend/utils/adt/date.c        24 Jul 2003 04:10:32 -0000
***************
*** 350,356 ****
        DateADT         result;
        struct tm       tt,
                           *tm = &tt;
!       double          fsec;
  
        if (TIMESTAMP_NOT_FINITE(timestamp))
                PG_RETURN_NULL();
--- 350,356 ----
        DateADT         result;
        struct tm       tt,
                           *tm = &tt;
!       fsec_t          fsec;
  
        if (TIMESTAMP_NOT_FINITE(timestamp))
                PG_RETURN_NULL();

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to