From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Lane Van Ingen <lvaningen(at)ESNCC(dot)com>, "Obe, Regina DND\\MIS" <robe(dot)dnd(at)cityofboston(dot)gov>, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: Server Time Setting |
Date: | 2005-09-15 16:07:26 |
Message-ID: | 43299C3E.50603@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Tom Lane wrote:
>Hmm. I think the way that the code in pgtz.c is set up, it just assumes
>that either "Eastern Standard Time" or "Eastern Daylight Time" should
>map to our US/Eastern timezone (which is a DST-aware zone). Running
>your system in non-DST-aware mode is what's confusing it --- the offset
>to GMT is an hour different than it "should be" at this time of year.
>
>Should pgtz.c try to detect this situation and handle it by mapping to a
>non-DST-aware internal timezone?
>
>
>
>
I think this is a simple case of misconfiguration and I suspect fiddling
with it would just open up the possibility of more errors. If you say
you are in a DST timezone and you don't check the DST checkbox, and you
set the time to summer time then you're asking for trouble. I would not
be at all surprised if the machine's idea of UTC was an hour out
(Windows boxes keep the RTC on local time, not UTC, which is just horrid).
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Lane Van Ingen | 2005-09-15 16:20:17 | Re: Server Time Setting |
Previous Message | Tom Lane | 2005-09-15 15:51:14 | Re: Server Time Setting |