Yup, as I originally suggested here Discourse on postgres 12 breaks upgrades - #8 by merefield
I’d just bite the bullet?