Postgres Use Variable In Soql Queries