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

From Magnus Hagander
Subject Re: [pgsql-hackers-win32] [HACKERS] win32 crash in initdb
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BF85@algol.sollentuna.se
Whole thread Raw
Responses Re: [pgsql-hackers-win32] [HACKERS] win32 crash in initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-patches by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Admin functions contrib
Next
From: "Magnus Hagander"
Date:
Subject: Re: win32 version info