| 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: | <pgsql-hackers-win32(at)postgresql(dot)org>, "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: [HACKERS] win32 crash in initdb |
| Date: | 2004-07-29 17:10:06 |
| Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE34BF77@algol.sollentuna.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 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.
//Magnus
| Attachment | Content-Type | Size |
|---|---|---|
| tzfix.patch | application/octet-stream | 914 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2004-07-29 17:20:11 | Re: [HACKERS] win32 crash in initdb |
| Previous Message | Tom Lane | 2004-07-29 14:57:28 | Re: localtime() for win32 problem. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-07-29 17:12:14 | Re: Admin functions contrib |
| Previous Message | Bruce Momjian | 2004-07-29 17:07:51 | Re: [HACKERS] Point in Time Recovery |