Postgresql Function Select Into Variable Plsql Basic Concepts