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

From Thomas G. Lockhart
Subject Re: [HACKERS] Date/time on glibc2 linux
Date
Msg-id 366EC07E.14F2BBAC@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Date/time on glibc2 linux  (Oleg Broytmann <phd@sun.med.ru>)
Responses Re: [HACKERS] Date/time on glibc2 linux
List pgsql-hackers
> Another problem I have - I cannot recompile postgres with DATEDEBUG
> defined in config.h - I got the error:
<snip>

These don't appear to be related. However, I usually just (slightly)
edit the src/backend/utils/adt/Makefile to add in CFLAGS+= -DDATEDEBUG

since it is a symbol which afaik only affects files in that directory,
and should not be kept in after you are finished.

Do you have any test cases *other* than the date->datetime conversion
example? If you don't then we should probably be looking for a very
local problem, not a system-wide problem. otoh I have a hard time
picturing how this could not be a system-wide problem, given that I see
no problems on the same test case on gcc/libc5 systems.
                - Tom


pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: AW: [HACKERS] isnull() or is it?t
Next
From: Oleg Broytmann
Date:
Subject: Re: [HACKERS] Date/time on glibc2 linux