OSDN Git Service

Tamotsu Nakagawa has posted a fix for this to a local mail list in
authorBruce Momjian <bruce@momjian.us>
Tue, 27 Jun 2000 18:08:49 +0000 (18:08 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 27 Jun 2000 18:08:49 +0000 (18:08 +0000)
Japan. Can someone comment on this? According to him, with the patch
now only the geometry test fails.

 Tatsuo Ishii

src/backend/utils/adt/nabstime.c

index 5d07f27..9a666eb 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.69 2000/06/09 01:11:08 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.70 2000/06/27 18:08:49 momjian Exp $
  *
  * NOTES
  *
@@ -215,8 +215,9 @@ GetCurrentTime(struct tm * tm)
 
 
 void
-abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn)
+abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn)
 {
+       time_t time = (time_t) _time;
 #ifdef USE_POSIX_TIME
        struct tm  *tx;