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

Re: [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: <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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32pgsql-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.


Attachment: tzfix.patch
Description: application/octet-stream (914 bytes)


pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-07-29 17:12:14
Subject: Re: Admin functions contrib
Previous:From: Bruce MomjianDate: 2004-07-29 17:07:51
Subject: Re: [HACKERS] Point in Time Recovery

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-07-29 17:20:11
Subject: Re: [HACKERS] win32 crash in initdb
Previous:From: Tom LaneDate: 2004-07-29 14:57:28
Subject: Re: localtime() for win32 problem.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group