The timestamp() syntax has been modified, so be compliant with SQL99. (eg. timestamp(4) for 4 digits of millisecond precision). It's in the release notes.
So, you will now need to double quote and it will work fine:
"timestamp"('now') and "interval"('7 days');
However I suggest you just convert to standard syntax:
select timestamp 'now';
or better: select current_timestamp;
and
select interval '7 days';
These are sql99 compatible statements...
Chris
Hello,
Has anyone expreience these problems with postgres 7.21??
timestamp('now') or interval('7 days') now result in parse errors when executed ????
this renders an import script of mine useless, when it was running without problems on previous versions?
have i compiled postgres wrong? has this functionality been dropped from postgresql????
any help would be greately appreciated.
regards, Peter