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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: AW: AW: Re: tinterval - operator problems on AIX
Дата
Msg-id 11C1E6749A55D411A9670001FA6879633681B2@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> > 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.
> 
> That seems like a reasonable answer to me, especially since we have
> other platforms that behave that way.  How can we do this --- just
> test for isdst = -1 after the call, and assume that means failure?

Since we have tests of the form (tm_isdst > 0) ? ... in other parts of the code
this would imho be sufficient.
BTW, I would use the above check for DST in all parts of the code.
Currently we eighter have (tm_isdst ? ....) or the above form.

Andreas 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: AW: Re: GiST for 7.1 !!
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgreSQL v7.1BETA3 Bundled and Available ...