Postgres Set Variable In Batch