Hmm ... one annoying thing for this project is that AFAICS pg_upgradedoes *not* preserve database OIDs, which is problematic for usingCOPY to load pg_shdepend rows.
regards, tom lane