Postgresql Upgrade from 9.1.9 to 9.4.5 pg_stat_activity.procpid causes failure
Apparently, you have a view, blocking_procs on top of pg_stat_activity.  You will need to drop that view and reinstall it after the upgrade.

DROP VIEW blocking_procs;