Index: openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.0-5.0.1d.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/upgrade/Attic/upgrade-5.0-5.0.1d.sql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.0-5.0.1d.sql 15 Dec 2003 11:22:01 -0000 1.1 +++ openacs-4/packages/file-storage/sql/postgresql/upgrade/upgrade-5.0-5.0.1d.sql 4 Jan 2004 21:04:06 -0000 1.2 @@ -727,7 +727,7 @@ from cr_items i, cr_revisions r where i.item_id=r.item_id and i.live_revision=r.revision_id - and i.content_type=''file_storage_object''; + and i.content_type=''file_storage_object'' loop update cr_items set name=v_item_row.name