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 36811B41.583492AC@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Date/time on glibc2 linux  (Oleg Broytmann <phd@sun.med.ru>)
List pgsql-hackers
> I ran the query SELECT datetime('1998-10-01', '11:00')
> How nice - postgres added GMT offset once more!
> I just want to know - where? It seems there is a line of code (I am 
> pretty sure it is exactly one-line bug) - postgres add gmt_off where 
> it should not. Where?

postgres=> SELECT datetime('1998-10-01', '11:00');
datetime
----------------------------
Thu Oct 01 11:00:00 1998 MSK
(1 row)

Look for the #ifdef BREAK_OLEGS_LINUX_GLIBC2 :/

I might have a chance today or next week (nothing in between, sorry) to
fire up a debugging version of postgres on my linux/glibc2 machine at
work.
                 - Tom


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: RE: [HACKERS] Mhonarc for the docs list
Next
From: Hal Snyder
Date:
Subject: Re: [HACKERS] Mhonarc for the docs list