Index: openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql 5 Jul 2016 16:35:23 -0000 1.1.2.2 +++ openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql 8 Jul 2016 15:52:06 -0000 1.1.2.3 @@ -25,7 +25,7 @@ -- -- Create an "identity relationship" -- - select acs_object__new(-10, 'relationship') from dual; + perform acs_object__new(-10, 'relationship') from dual; insert into acs_rels (rel_id, rel_type, object_id_one, object_id_two) values (-10, 'relationship', 0, 0); end if;