postgres upgrade from example1 to example2 working