Postgresql Use Variables In A Batch