ok Jeff,
I've edited the file category-synonyms-procs-postgresql.xql and changed in category_synonym::search_sweeper.delete_old_searches
from:
"where last_queried < current_timestamp - 1"
to:
"where last_queried < current_timestamp - '1 day'::INTERVAL"
I've restarted the server and find in the log what's below.
Does that mean I've corrected the former problem and this is a new one to debug or I made a mystake with the 'INTERVAL' syntax?
Thanks a lot for your help Jeff.
Yves.
==========================================
Errors since Tue Jul 6 01:38:52 2004
06/Jul/2004:05:23:03
Error: Ns_PgExec: result status: 7 message: ERROR: Function trunc(interval) does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
06/Jul/2004:05:23:04
Error: Aborting transaction due to error:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
ERROR: Function trunc(interval) does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
SQL:
select trunc(current_timestamp - max(coalesce(modified_date, insertion_date))) from robots
=============================================