rename and case change postgres objects