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

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

Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> writes:
> 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?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Keith G. Murphy 2001-01-12 16:00:40 Re: Bruce Momjian's interview in LWN.
Previous Message Thomas Lockhart 2001-01-12 15:54:43 Re: AW: Re: tinterval - operator problems on AIX