Search Postgresql Archives

Re: Infinity dates in RoR was How to handle bogus nulls from ActiveRecord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/05/2011 4:02 AM, James B. Byrne wrote:

On Fri, May 13, 2011 13:04, James B. Byrne wrote:

I have opened an issue for this with the ActiveRecord folks.

https://github.com/rails/rails/issues/544


This has been addressed by the AR team and is committed to master.
+-Infinity support for dates is slated for general release with
RoR-3.0.8.

... now if only Java would support infinite dates, too. Alas, unlike RoR, I doubt there'll be a quick "we've fixed this, grab the next point release" post for Java.

Not even the 3rd party JodaTime date/time library supports infinite intervals, the +infinity date, etc, so I have to represent unbounded intervals with some distant future date, or use null. Neither option is very palatable.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux