Index: openacs-4/packages/acs-content-repository/acs-content-repository.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/acs-content-repository.info,v diff -u -r1.44 -r1.45 --- openacs-4/packages/acs-content-repository/acs-content-repository.info 20 Jul 2004 15:19:26 -0000 1.44 +++ openacs-4/packages/acs-content-repository/acs-content-repository.info 24 Jul 2004 14:52:09 -0000 1.45 @@ -7,7 +7,7 @@ t t - + OpenACS The canonical repository for OpenACS content. @@ -20,7 +20,7 @@ other CMS backing functionality. Utilized by Bug Tracker, File Storage, and other packages. - + Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v diff -u -r1.38 -r1.39 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 24 Jul 2004 08:34:04 -0000 1.38 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 24 Jul 2004 14:52:09 -0000 1.39 @@ -531,7 +531,7 @@ create function cr_dummy_ins_del_tr () returns opaque as ' begin - raise execption ''Only updates are allowed on cr_dummy''; + raise exception ''Only updates are allowed on cr_dummy''; return null; end;' language 'plpgsql'; Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d6-5.2.0d7.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d6-5.2.0d7.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d6-5.2.0d7.sql 24 Jul 2004 14:52:10 -0000 1.1 @@ -0,0 +1,11 @@ +-- exception was miss spelled +drop function cr_dummy_ins_del_tr() cascade; + +create function cr_dummy_ins_del_tr () returns opaque as ' +begin + raise exception ''Only updates are allowed on cr_dummy''; + return null; +end;' language 'plpgsql'; + +create trigger cr_dummy_ins_del_tr before insert or delete on +cr_dummy for each row execute procedure cr_dummy_ins_del_tr ();