Re: [pgsql-hackers-win32] [HACKERS] win32 crash in initdb

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [pgsql-hackers-win32] [HACKERS] win32 crash in initdb
Date: 2004-07-30 08:13:33
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BF85@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> >> The crash people are getting in initdb is due to the 1.19
> revision to
> >> pgtz.c. Not sure why yet...looking into it...
> >
> >Unfortunate behavior when probing pre-1970 dates, maybe?
>
>
> Indeed that was the problem. Attached patch fixes the issue
> here and for Merlin :-)
>
> I've also figured out why it always worked for me. When in
> the western europe timezone, the bug does not show up
> (probably because we don't probe those dates). When I set my
> system to US Eastern, it broke.

Here we go again with a more correct patch, per Toms comments and hints
off-list.

//Magnus

Attachment Content-Type Size
tzfix.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-07-30 08:58:22 Re: win32 version info
Previous Message Dave Page 2004-07-30 07:31:08 Re: Admin functions contrib