now() + 1 results in illegal argument #2978
Last updated: 2013-01-22 09:29:19 +0100
Date: 2012-01-18 17:20:50 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.83 Safari/535.2
sql>select now() + 1;
(yeah it should be done with interval)
Date: 2012-07-21 19:03:59 +0200
sql>select now() + interval '1' day;
I guess this bug is then just about making the error message a bit more clear?
Date: 2012-08-24 14:54:32 +0200
Jul2012-SP1 has been released.
Date: 2012-11-27 13:03:25 +0100
To make a test for this case, I should have a substraction (now()-now()) in order to have a stable result. However, this substraction returns an error. Moreover, the query returns an error when the interval unit is smaller than second (e.g., millisecond).
Date: 2012-11-28 13:45:54 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=973503cfeacd
Date: 2012-11-28 19:33:37 +0100
addition/substraction of timestamps isn't supported. We now give a proper error.
Date: 2013-01-22 09:29:19 +0100
Oct2012-SP3 has been released.
The text was updated successfully, but these errors were encountered: