Index: openacs-4/packages/acs-subsite/www/admin/relations/add-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/relations/Attic/add-postgresql.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-subsite/www/admin/relations/add-postgresql.xql 4 Dec 2001 00:20:47 -0000 1.3 +++ openacs-4/packages/acs-subsite/www/admin/relations/add-postgresql.xql 8 Dec 2001 01:17:59 -0000 1.4 @@ -43,9 +43,9 @@ p.party_id from (select o.object_id as party_id from acs_objects o, - (select object_type from acs_object_types ot, acs_object_types ot2 + (select ot.object_type from acs_object_types ot, acs_object_types ot2 where ot.tree_sortkey between ot2.tree_sortkey and tree_right(ot2.tree_sortkey) - and $start_with)) t + and $start_with) t where o.object_type = t.object_type) p left join (select element_id from group_element_map