John R Pierce, 16.12.2013 01:23:
>> select current_timestamp, current_timestamp + interval '2' day;
>
> that should be interval '2 day' (note the ' moved), and for a variable number passed as a parameter, try...
Both are valid. interval '2' day is the ANSI SQL format though.