From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> |
Cc: | "'thomas(at)pgsql(dot)com'" <thomas(at)pgsql(dot)com>, <lockhart(at)fourpalms(dot)org>, Pete Forman <pete(dot)forman(at)westerngeco(dot)com>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: AW: AW: AW: AW: AW: AW: Re: tinterval - operator proble ms o n AI X |
Date: | 2001-01-19 16:24:27 |
Message-ID: | Pine.LNX.4.30.0101191723160.1322-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Zeugswetter Andreas SB writes:
> We do not need any execution time checks for this at all. The objective is
> to determine whether mktime works for any results that would be negative.
> On AIX and IRIX all calls to mktime for dates before 1970 lead to a result of
> -1, and the configure test is supposed to give a define for exactly that behavior.
Okay, so you call mktime with a pre-1970 date once when the system starts
up or when the particular function is first used and then save the result
in a static variable.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Zeugswetter Andreas SB | 2001-01-19 16:28:12 | AW: AW: AW: AW: Re: tinterval - operator problems on AI X |
Previous Message | Peter Eisentraut | 2001-01-19 16:23:00 | Re: AW: AW: AW: Re: tinterval - operator problems on AIX |