-- packages/search/sql/postgresql/upgrade/upgrade-4.2-4.5.sql -- -- @author jon@jongriffi.com -- @creation-date 2002-08-02 -- @cvs-id $Id: upgrade-4.5-4.5.1.sql,v 1.4 2003/10/12 22:20:28 tilmanns Exp $ -- -- search-packages-create.sql drop function search_observer__dequeue(integer,timestamp with time zone,varchar); create function search_observer__dequeue(integer,timestamp with time zone,varchar) returns integer as ' declare p_object_id alias for $1; p_event_date alias for $2; p_event alias for $3; begin delete from search_observer_queue where object_id = p_object_id and event = p_event and event_date = p_event_date; return 0; end;' language 'plpgsql'; -- alter table search_observer_queue rename column date to event_date;