-- -- bulk_mail model drop -- -- @author yon@openforce.net -- @version $Id: bulk-mail-drop.sql,v 1.2 2002/06/12 13:53:13 yon Exp $ -- create function inline_0 () returns integer as' declare row RECORD; begin for row in select bulk_mail_id from bulk_mail_messages loop perform bulk_mail__delete(row.bulk_mail_id); end loop; perform acs_object_type__drop_type(''bulk_mail_message'', ''f''); return null; end;' language 'plpgsql'; select inline_0(); drop function inline_0 (); \i bulk-mail-package-drop.sql \i bulk-mail-views-drop.sql drop table bulk_mail_messages;