Postgres returning multiple values. i want to return them as a record type.