AW: AW: Re: tinterval - operator problems on AIX

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pete Forman <pete(dot)forman(at)westerngeco(dot)com>
Cc: lockhart(at)fourpalms(dot)org, Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: AW: Re: tinterval - operator problems on AIX
Date: 2001-01-12 15:51:51
Message-ID: 11C1E6749A55D411A9670001FA6879633681B1@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Pete Forman <pete(dot)forman(at)westerngeco(dot)com> writes:
> > Thinking about that a bit more, I think that tm_isdst should not be
> > written into.
>
> IIRC, setting isdst to -1 was necessary to get the right
> behavior across
> DST boundaries on more-mainstream systems. I do not think it's
> acceptable to do worse on systems with good time libraries in order to
> improve behavior on fundamentally broken ones.

Yes, the annoyance is, that localtime works for dates before 1970
but mktime doesn't. Best would probably be to assume no DST before
1970 on AIX and IRIX.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-01-12 15:54:43 Re: AW: Re: tinterval - operator problems on AIX
Previous Message Tom Lane 2001-01-12 15:48:09 Re: AW: Re: tinterval - operator problems on AIX