Variable Declaration In Postgresql Function Call