Index: openacs-4/packages/search/sql/postgresql/search-packages-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/search/sql/postgresql/search-packages-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/search/sql/postgresql/search-packages-create.sql	17 May 2003 11:27:28 -0000	1.5
+++ openacs-4/packages/search/sql/postgresql/search-packages-create.sql	14 May 2004 10:17:35 -0000	1.6
@@ -1,8 +1,8 @@
+-- Search Observer Package
 --
--- Search Observer
---
+-- @cvs-id $Id$ 
 
-create function search_observer__enqueue(integer,varchar)
+create or replace function search_observer__enqueue(integer,varchar)
 returns integer as '
 declare
     p_object_id			alias for $1;
@@ -20,8 +20,9 @@
 
 end;' language 'plpgsql';
 
+select define_function_args('search_observer__enqueue','object_id,event');
 
-create function search_observer__dequeue(integer,timestamptz,varchar)
+create or replace function search_observer__dequeue(integer,timestamptz,varchar)
 returns integer as '
 declare
     p_object_id                 alias for $1;
@@ -37,3 +38,6 @@
     return 0;
 
 end;' language 'plpgsql';
+
+select define_function_args('search_observer__dequeue','object_id,event_date,event');
+
