--
-- acs_rel__delete/1
--
create or replace function acs_rel__delete(
  integer
) returns int4 as $$

declare
  rel_id                 alias for $1;  
begin
    PERFORM acs_object__delete(rel_id);

    return 0; 
end;$$ language plpgsql;