Re: Open 7.3 issues

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joe Conway <mail(at)joeconway(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Open 7.3 issues
Date: 2002-08-16 04:39:22
Message-ID: 200208160439.g7G4dMo14318@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-08-16 04:43:09 Re: Open 7.3 issues
Previous Message Bruce Momjian 2002-08-16 04:35:58 Re: Open 7.3 issues