allow space in ret type so we can handle SETOF rec
drop cascade when mk_func