pgsql upgrade cheatsheet