Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-folder.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-folder.sql,v
diff -u -r1.47 -r1.48
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-folder.sql	4 Jun 2006 00:45:23 -0000	1.47
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-folder.sql	1 Oct 2007 00:10:34 -0000	1.48
@@ -282,7 +282,7 @@
 returns integer as '
 declare
   delete__folder_id              alias for $1;  
-  p_cascade_p                    alias for $2;
+  p_cascade_p                    alias for $2; -- default ''f''
   v_count                        integer;       
   v_child_row                    record;
   v_parent_id                    integer;  
@@ -347,7 +347,7 @@
 returns integer as '
 declare
   delete__folder_id              alias for $1;  
-  p_cascade_p                    alias for $2;
+  p_cascade_p                    alias for $2;  -- default ''f''
 begin
         PERFORM content_folder__del(delete__folder_id,p_cascade_p);
   return 0; 
@@ -419,14 +419,14 @@
 -- 3) update the parent_id for the folder
 
 -- procedure move
-select define_function_args('content_folder__move','folder_id,target_folder_id,name;NULL');
+select define_function_args('content_folder__move','folder_id,target_folder_id,name;null');
 
 create or replace function content_folder__move (integer,integer,varchar)
 returns integer as '
 declare
   move__folder_id              alias for $1;  
   move__target_folder_id       alias for $2;
-  move__name                   alias for $3;
+  move__name                   alias for $3; -- default null
   v_source_folder_id           integer;       
   v_valid_folders_p            integer;
 begin
