Upgrade.pm after for Pg moved out of main transaction