Postgres Use Variable In String Bash