Re: [HACKERS] Date/time on glibc2 linux - Mailing list pgsql-hackers

From Oleg Broytmann
Subject Re: [HACKERS] Date/time on glibc2 linux
Date
Msg-id Pine.SOL2.3.96.SK.981209180752.8389A-100000@sun.med.ru
Whole thread Raw
In response to Re: [HACKERS] Date/time on glibc2 linux  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Hello!
  I think, finally, that the simplest way to solve this would be patch
configure, not datetime.c, dt.c and all that.  The struct tm on linux has tm_gmtoff and tm_zone, so it will be enough
if postgres' configure undefine HAVE_TZSET and HAVE_INT_TIMEZONE on glibc2.
  Python's configure.in has the following:
# checks for structures
AC_HEADER_TIME
AC_STRUCT_TM
AC_STRUCT_TIMEZONE  and this do all neccessary defines. I think postgres' configure will
require some more tricks.
  Continue investigating...

Oleg.
----  Oleg Broytmann     http://members.tripod.com/~phd2/     phd2@earthling.net          Programmers don't die, they
justGOSUB without RETURN.
 



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] problem compiling with egcs 1.1.1
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: AW: [HACKERS] isnull() or is it?t