Postgresql Function Select Into Statement In Oracle