A query working on Postgresql 7.4 but not on Postgresql 8.3 with same database.
Query:
SELECT * FROM login_session WHERE (now()-modified) > timeout;
Get error
ERROR: operator does not exist: interval > integer
LINE 1: ...ELECT * FROM login_session WHERE (now()-modified) > timeout ...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Column modified is timestamp and timeout is integer.
Is there some settings I need to change on server.
I'm installation an application for a client on new server (ubuntu) so I cant change query's in the application.