Skip site navigation (1) Skip section navigation (2)

Re: timestamp (minor bug)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "And(dot) Andruikhanov" <andy(at)euinf(dot)dp(dot)ua>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: timestamp (minor bug)
Date: 2001-07-22 15:51:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"And. Andruikhanov" <andy(at)euinf(dot)dp(dot)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

In response to


pgsql-bugs by date

Next:From: Eugene FokinDate: 2001-07-23 07:23:50
Subject: Re: libpgtcl doesn't use UTF encoding of TCL
Previous:From: And. AndruikhanovDate: 2001-07-22 11:20:59
Subject: timestamp (minor bug)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group