this is not helping me much as I don't really understand why pg_statistic need to be frozen?
Yeah, in particular it's not clear to me why pg_upgrade goes to such efforts to freeze everything when it copies pg_clog over in copy_clog_xlog_xid() .
Is it mainly a defense against the multixact format change?