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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: AW: Re: tinterval - operator problems on AIX
Дата
Msg-id 11C1E6749A55D411A9670001FA6879633681B1@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: AW: Re: tinterval - operator problems on AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: AW: Re: tinterval - operator problems on AIX
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: AW: Re: tinterval - operator problems on AIX