model-writtenrun 3234 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hayato Kuroda proposed removing subscriptions inherited by a standby during conversion with pg_createsubscriber, because they could connect to an upstream publisher and cause errors; the initial implementation temporarily disabled subscriptions and detached their slots on the primary, then restored them after conversion #1.
- Vignesh identified that the initial implementation could enable previously disabled subscriptions and leak connections, and confirmed that the unused LogicalRepInfo.oid member could be removed #2.
- Amit Kapila objected that disabling subscriptions would interrupt the primary and proposed performing the cleanup on the converted subscriber instead #3; Hayato adopted that design, suppressed logical workers during conversion, and added a separate unused-member cleanup patch #4.
- Amit supplied comment and naming revisions and requested a smaller test within the existing TAP script #5; Hayato incorporated those changes, added database-name escaping, dry-run protection and informational logging, and replaced the standalone cascading test with an integrated dummy-subscription test #6.
- Amit approved the final series #7, and Shlok Kyal confirmed on Linux and Windows that it fixed the reported issue #8.
- The final series #6 landed as two unchanged component patches: the unused-member cleanup in ca522e2a89, followed by subscription removal and its test in 622cb84d69, with both changes backpatched to PostgreSQL 17.
- Amit announced that the patch had been pushed #9, leaving both parts of the series committed and no outstanding work identified in the thread.