Postgresql Declare Variable In Script