Re: Open 7.3 issues - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Open 7.3 issues
Date
Msg-id 200208160439.g7G4dMo14318@candle.pha.pa.us
Whole thread Raw
In response to Re: Open 7.3 issues  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> > I'm concerned, but in the few moments I've had to play with this, what 
> > looked like the obvious fix didn't seem to work (I was hacking on glibc 
> > itself though).
> 
> Red Hat's internal opinion seems to be that "#define NO_MKTIME_BEFORE_1970"
> is a sufficient answer.  I consider that well to the south of sucking,
> but at this point I really doubt that we have the time to implement a
> better answer for 7.3.  A better answer seems to mean writing our own
> interface to the zic timezone database.  Make no mistake: I think we
> should do that, and will do it eventually.  I just doubt it'll happen
> in the next two weeks.  And again, I do not feel we should hold up 7.3
> to wait for a solution.

So everyone's conclusion is that we can't patch over this problem with a
patched up version on the link line, so I will just add it to the TODO
list:
* Fix glibc's mktime() to handle pre-1970's dates

Do we have a way to detect this bug and warn users somehow?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Open 7.3 issues
Next
From: Bruce Momjian
Date:
Subject: Re: Open 7.3 issues