Date/time problems on Linux

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Date/time problems on Linux
Date: 1998-11-23 15:17:43
Message-ID: Pine.SOL2.3.96.SK.981123181054.21393R-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello!

=> SELECT datetime(current_date, '11:00');
datetime
----------------------------
Mon 23 Nov 11:00:00 1998 MSK
(1 row)

I got correct result (11:00:00 MSK) on Sparc Solaris 2.5.1 and RedHat 4.2.
I got incorrect result (17:00:00 MSK) on RedHat 5.1 and Debian 2.0. (All
postgres 6.4)

It looks like problem with libc5-to-glibc2 transition, but I don't see
how to test who cause the problem - Postgres or Linux. How can I test?

Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 1998-11-23 17:17:30 Parser bug?
Previous Message Jan Wieck 1998-11-23 14:44:41 Re: [HACKERS] CVS problem ... fixed...