Re: AW: AW: AW: AW: AW: AW: AW: Re: tinterval - operator proble ms o n AIX - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: AW: AW: AW: AW: AW: AW: AW: Re: tinterval - operator proble ms o n AIX
Date
Msg-id 3A689C72.818F6D88@alumni.caltech.edu
Whole thread Raw
In response to AW: AW: AW: AW: AW: AW: AW: Re: tinterval - operator pr oble ms o n AIX  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
> > 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.
> Can anybody else give an OK to this approach, that affects all platforms ?
> I am not convinced, that this is the way to go.

Nope. So far we have consensus that #ifdef <something> is the way to go
(I just made some changes to the date/time stuff to isolate the #ifdef
__CYGWIN__ garbage, and would like to avoid more cruft), but we are not
unanimous on the way to get that set.
                         - Thomas


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] s_lock.h cleanup
Next
From: Bruce Momjian
Date:
Subject: Re: "initdb -t" destroys all databases