Postgres Use Variable In Sed Command Practice