model-writtenrun 7144 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shveta Malik opened the thread with #1, explaining that pg_subscription_rel is database-local and proposing a warning because running the failover-readiness query in another database omits table-synchronization slots.
- Shveta proposed separating the cluster-wide subscription query from the database-local table-synchronization query in #2; Amit Kapila agreed in #3, Zhijie Hou agreed in #4, and Shveta implemented the split in #5.
- Amit requested the established term 'replication slots' instead of 'main slots' in #6, and Shveta incorporated that wording in #7.
- Zhijie Hou identified that the NULL-slot filter belonged on the subscription query in #8; Shveta moved it and corrected the commit message in #9, the thread's final submission.
- Amit committed all of #9 with light wording edits in 07fbecb87b, combining this thread's failover-readiness corrections with the separate ALTER SUBSCRIPTION documentation correction from thread #77668; all changes proposed by this thread's final patch landed.