Declare Variable In Postgresql Function Example