--
-- lobs_delete_tr/0
--
create or replace function lobs_delete_tr(
  
) returns trigger as $$

BEGIN
	delete from lob_data where lob_id = old.lob_id;
	return old;
END;
$$ language plpgsql;