Postgresql Use Variable In Where Clause