Thanks both -- pushed. I also changed regress/sql/triggers to leavetables around that have a non-zero tgparentid. This ensures that thepg_upgrade test sees such objects, as well as findoidjoins.
I refrained from doing the findoidjoins dance itself, though; I got alarge number of false positives that I think are caused by some pg12-erahacking.
-- Álvaro Herrera https://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services