Added pg libs to upgrade_admin_course (in a sneaky way).