Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql,v
diff -u -r1.35 -r1.35.2.1
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql	4 Mar 2004 14:52:36 -0000	1.35
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql	21 Dec 2004 18:22:30 -0000	1.35.2.1
@@ -186,6 +186,7 @@
 
 
 -- procedure copy_attributes
+select define_function_args('content_revision__copy_attributes','content_type,revision_id,copy_id');
 create or replace function content_revision__copy_attributes (varchar,integer,integer)
 returns integer as '
 declare
@@ -225,6 +226,7 @@
 
 
 -- function copy
+select define_function_args('content_revision__copy','revision_id,copy_id,target_item_id,creation_user,creation_ip');
 create or replace function content_revision__copy (integer,integer,integer,integer,varchar)
 returns integer as '
 declare
@@ -327,6 +329,7 @@
 
 
 -- procedure delete
+select define_function_args('content_revision__delete','revision_id');
 create or replace function content_revision__delete (integer)
 returns integer as '
 declare
@@ -391,6 +394,7 @@
 
 
 -- function get_number
+select define_function_args('content_revision__get_number','revision_id');
 create or replace function content_revision__get_number (integer)
 returns integer as '
 declare
@@ -422,6 +426,7 @@
  
 end;' language 'plpgsql' stable strict;
 
+select define_function_args('content_revision__revision_name','revision_id');
 create or replace function content_revision__revision_name(integer)
 returns text as '
 declare
@@ -507,6 +512,7 @@
 
 
 -- function is_live
+select define_function_args('content_revision__is_live','revision_id');
 create or replace function content_revision__is_live (integer)
 returns boolean as '
 declare
@@ -520,6 +526,7 @@
 
 
 -- function is_latest
+select define_function_args('content_revision__is_latest','revision_id');
 create or replace function content_revision__is_latest (integer)
 returns boolean as '
 declare
@@ -562,6 +569,7 @@
 
 
 -- procedure content_copy
+select define_function_args('content_revision__content_copy','revision_id,revision_id_dest');
 create or replace function content_revision__content_copy (integer,integer)
 returns integer as '
 declare
@@ -653,6 +661,7 @@
 
 
 -- procedure content__get_content
+select define_function_args('content_revision__get_content','revision_id');
 create or replace function content_revision__get_content (integer)
 returns text as '
 declare
