Postgresql Function Select Into Variable Postgresql Create