AW: AW: Re: tinterval - operator problems on AIX - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: AW: Re: tinterval - operator problems on AIX
Date
Msg-id 11C1E6749A55D411A9670001FA6879633681B1@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: AW: AW: Re: tinterval - operator problems on AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Pete Forman <pete.forman@westerngeco.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AW: Re: tinterval - operator problems on AIX
Next
From: Thomas Lockhart
Date:
Subject: Re: AW: Re: tinterval - operator problems on AIX