Re: Integer datetimes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Integer datetimes
Date
Msg-id 200705051046.27736.peter_e@gmx.net
Whole thread Raw
In response to Integer datetimes  (Neil Conway <neilc@samurai.com>)
Responses Re: Integer datetimes
Re: Integer datetimes
List pgsql-hackers
Neil Conway wrote:
> Notably, the FP datetime code doesn't depend on having a
> functional int64 type, but in 2007, are there really any platforms we
> care about that don't have such a type?

That is really the only question, AFAIR.  The integer datetimes 
implementation on a 32-bit type would have a range of about 1 hour (or 
about 1 month, if you reduce it to millisecond precision), which would 
make it totally useless.

If we wanted to move toward requiring a 64-bit type, we should put some 
big warning into configure now that yells at the user if they don't 
have that type.  And if no one complains, we can make it a requirement 
in a later release.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: how does one set the plpython python interpreter?
Next
From: Bruce Momjian
Date:
Subject: Re: New idea for patch tracking