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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Thu, 29 Jul 2004 13:49:49 -0400
  • Message-id: <15798(dot)1091123389(at)sss(dot)pgh(dot)pa(dot)us>

"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group