get_new_* functions now return setof