Postgres Use Variable In Sed Command To Replace