Index: openacs-4/packages/wp-slim/sql/postgresql/wp-slim-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/sql/postgresql/wp-slim-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/wp-slim/sql/postgresql/wp-slim-create.sql	15 Nov 2001 01:47:13 -0000	1.2
+++ openacs-4/packages/wp-slim/sql/postgresql/wp-slim-create.sql	23 Feb 2002 21:21:07 -0000	1.3
@@ -726,7 +726,8 @@
 	boolean,
 	boolean,
 	varchar,
-	varchar
+	varchar,
+	integer
 ) 
 returns integer as'     
 declare
@@ -741,7 +742,8 @@
 	p_show_modified_p      	alias for $9;
 	aud	      	alias for $10;
 	back	      	alias for $11;
-    	v_item_id               cr_items.item_id%TYPE;
+	p_parent_id		alias for $12;
+	v_item_id               cr_items.item_id%TYPE;
     	v_audience_item_id	cr_items.item_id%TYPE;
     	v_background_item_id	cr_items.item_id%TYPE;
     	v_revision_id		cr_revisions.revision_id%TYPE;
@@ -759,9 +761,9 @@
 
     v_item_id := content_item__new( 
       v_name,
+      p_parent_id,
       null,
       null,
-      null,
       p_creation_date,
       p_creation_user,
       null,
