Oh, I forgot another point before sending my previous email. Maybe it might worth adding some final safety checks in pg_upgrade itself? Eg. checking controldata and mxid files coherency between old and new cluster would have catch the inconsistency here.
- [PATCH] Disable bgworkers during servers start... Denis Laxalde
- Re: [PATCH] Disable bgworkers during serv... Andres Freund
- Re: [PATCH] Disable bgworkers during ... Denis Laxalde
- Re: [PATCH] Disable bgworkers dur... Jehan-Guillaume de Rorthais
- Re: [PATCH] Disable bgworkers... Jehan-Guillaume de Rorthais