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.981217194418.936A-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!

On Mon, 14 Dec 1998, Thomas G. Lockhart wrote:
> OK, I applied the fix (confined to backend/utils/adt/nabstime.c) to both
> CVS trees. This swaps the checking of HAVE_INT_TIMEZONE and HAVE_TM_ZONE
> so that the TM_ZONE takes precedence.
> 
> This single-file patch should be a candidate for removal if others run
> into trouble when testing.
> 
> One thing I wasn't certain about was the use of #error in non-gcc
> compilers. Is that a standard feature?
  I just tested latest snapshot (Dec 16). The bug is still there.
select datetime('1998-10-01', '11:00') => 1998 Oct 01 18:00

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: "Pedro J. Lobo"
Date:
Subject: Bug fix for src/backend/ports/snprintf.c sent to the patches list
Next
From: Bruce Momjian
Date:
Subject: CVS log for a specific tag