Postgresql Use Variable In Sed