Re: timestamp (minor bug) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: timestamp (minor bug)
Date
Msg-id 1785.995817065@sss.pgh.pa.us
Whole thread Raw
In response to timestamp (minor bug)  ("And. Andruikhanov" <andy@euinf.dp.ua>)
Responses Re: timestamp (minor bug)
List pgsql-bugs
"And. Andruikhanov" <andy@euinf.dp.ua> writes:
> Wrong result in timestamp value between "winter" and "summer" time:

Could you trace through the timestamp conversion routines and determine
exactly what's going wrong?  The problem is most likely in or near
DetermineLocalTimeZone() in src/backend/utils/adt/datetime.c.  We've
heard some reports of misbehavior of the C library's mktime() routine
on certain platforms, when given a time near a DST boundary in certain
timezones (what timezone do you use, anyway?).  DetermineLocalTimeZone
attempts to defend itself against this, but perhaps is not completely
successful.  Unfortunately, none of the developers have a machine on
which mktime() misbehaves, so it's hard for us to figure out much more
about the issue...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: libpgtcl doesn't use UTF encoding of TCL
Next
From: "eCommerce Software Solutions Inc."
Date:
Subject: Leaking Handles in Postgres 7.1.2 on Cygwin dll 1.3.2 on Win 2000