postgresql7.1 FIX ME PLSQL begin delete from acs_permissions where object_id = :category_id; contact_category__delete(:category_id); end;