create function inline_0 () returns integer as ' declare subscr record; v_result integer; begin for subscr in select subscr_id from rss_gen_subscrs loop select rss_gen_subscr__delete(subscr.subscr_id) into v_result; end loop; return 0; end;' language 'plpgsql'; select inline_0 (); drop function inline_0 (); select acs_object_type__drop_type('rss_gen_subscr','f'); drop table rss_gen_subscrs; drop function rss_gen_subscr__new (integer,integer,varchar,integer,timestamp,varchar,timestamp,integer,varchar,integer); drop function rss_gen_subscr__name (integer); drop function rss_gen_subscr__delete (integer);