Re: localtime() for win32 problem.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: localtime() for win32 problem.
Date: 2004-07-29 17:49:49
Message-ID: 15798.1091123389@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>> Ah, that would seem to be the problem. Also, has anyone rechecked with
>> this version of pgtz to see if we can dispense with testing time zone
>> name equality and still pick the right zone on Windows?

> Well, it puts me in "Africa/Ceuta" instead of "Europe/Stockholm"...

Something wrong there, as a quick look at the rule files shows that
those zones have different daylight-savings rules before 1986. What
does DEBUG4 output show about the scores for those zones? Perhaps
Windows has wrong historical data even later than that?

regards, tom lane

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruno Wolff III 2004-07-29 18:00:10 Re: [ADMIN] Secure DB Systems - How to
Previous Message Magnus Hagander 2004-07-29 17:26:28 Re: localtime() for win32 problem.