Postgresql Function Select Into Multiple Variables