Index: openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql,v
diff -u -r1.26 -r1.27
--- openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql	30 Mar 2013 22:50:45 -0000	1.26
+++ openacs-4/packages/file-storage/sql/postgresql/file-storage-package-create.sql	27 Oct 2014 16:41:31 -0000	1.27
@@ -503,6 +503,7 @@
 END;
 $$ LANGUAGE plpgsql;
 
+select define_function_args('file_storage__get_parent_id','item_id');
 
 CREATE OR REPLACE FUNCTION file_storage__get_parent_id (
         get_parent_id__item_id integer 
