Postgresql Function Select Into Variable Postgresql Version