model-writtenrun 580 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hayato Kuroda reported that pg_upgrade could restore subscription ownership before granting the new owner access to its foreign server, and proposed a separate ownership TOC entry restored after ACLs #1.
- Hayato submitted that ownership fix alongside a separate fix discovered during development: --no-subscriptions must also skip SUBSCRIPTION TABLE entries emitted by binary-upgrade dumps #2.
- Shlok Kyal reproduced the subscription-table restore failure, verified the first fix, and supported keeping it despite the unusual combination of options #3.
- Shlok subsequently tested the ownership fix successfully and suggested clearer comments explaining its ordering requirements #4.
- Jeff Davis linked a related discussion #5, then identified the subscription-table fix as straightforward and independent and asked Amit Kapila to examine it #6; Amit agreed #7.
- Amit committed the first patch from #2 without code changes as 41f1cd1d26, with backpatching through PostgreSQL 17, and announced the landing #8; the original ownership-ordering fix remained uncommitted in the supplied thread.