Re: pgsql-server/src/backend/utils/adt datetime.c

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: Tom Lane <tgl(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src/backend/utils/adt datetime.c
Date: 2002-09-03 20:56:52
Message-ID: 200209032056.g83KuqY27001@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


Tom, is there some standard they can point to to break localtime() too?

---------------------------------------------------------------------------

Sean Chittenden wrote:
> > CVSROOT: /cvsroot
> > Module name: pgsql-server
> > Changes by: tgl(at)postgresql(dot)org 02/09/03 15:46:32
> >
> > Modified files:
> > src/backend/utils/adt: datetime.c
> >
> > Log message:
> > Work around mktime() brain damage in recent versions of glibc by using
> > a series of localtime() calls to determine the local timezone offset
> > when mktime() fails. This eliminates regression failures on RHL 7.3,
> > and should continue to work until it occurs to the glibc boys to break
> > localtime() as well. By then I hope we'll have our own timezone code...
>
> I think this closes bug #630 as well (inserting data at 2am on a
> timzone shit). -sc
>
> --
> Sean Chittenden
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-09-03 21:02:30 Re: pgsql-server/src/backend/utils/adt datetime.c
Previous Message Bruce Momjian 2002-09-03 20:46:44 Re: pgsql-server/src/backend/utils/adt datetime.c