Index: openacs-4/packages/file-storage/sql/postgresql/file-storage-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/file-storage-create.sql,v diff -u -r1.12 -r1.12.2.1 --- openacs-4/packages/file-storage/sql/postgresql/file-storage-create.sql 7 Mar 2002 06:27:16 -0000 1.12 +++ openacs-4/packages/file-storage/sql/postgresql/file-storage-create.sql 13 Mar 2002 02:07:51 -0000 1.12.2.1 @@ -109,6 +109,8 @@ if NOT FOUND then return null; + else + return v_package_id; end if; end;' language 'plpgsql' with (iscachable);