From: | Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> |
---|---|
To: | "'lockhart(at)fourpalms(dot)org'" <lockhart(at)fourpalms(dot)org>, Pete Forman <pete(dot)forman(at)westerngeco(dot)com> |
Cc: | Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>, pgsql-hackers(at)postgresql(dot)org |
Subject: | AW: AW: AW: Re: tinterval - operator problems on AIX |
Date: | 2001-01-11 16:06:17 |
Message-ID: | 11C1E6749A55D411A9670001FA6879633681AB@sdexcsrv1.f000.d0188.sd.spardat.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Oh, so AIX and IRIX have just one-line time zone databases? Yuck.
>
> How about having some #if BROKEN_TIMEZONE_DATABASE code which uses both
> mktime() and localtime() to derive the correct time zone? That is, call
> mktime to get a time_t, then call localtime() to get the time zone info,
> but only on platforms which do not get a complete result from just the
> call to mktime(). In fact, we *could* check for tm->tm_isdst coming back
> "-1" for every platform, then call localtime() to make a last stab at
> getting a good value.
How would we construct a valid time_t from the struct tm without mktime?
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2001-01-11 16:06:41 | Re: AW: Re: GiST for 7.1 !! |
Previous Message | Tom Lane | 2001-01-11 16:06:09 | Re: AW: Re: GiST for 7.1 !! |