model-writtenrun 4272 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Sjöblom proposed documenting that a subscription must first be disabled before detaching its replication slot to recover from a failed DROP SUBSCRIPTION command #1.
- Amit Kapila requested the corresponding error-hint correction #2, while Peter Smith suggested keeping the documentation concise by mentioning DISABLE without spelling out its command #3.
- Masahiko Sawada proposed error-hint wording and separately suggested automatically disabling subscriptions when setting slot_name to NONE #4; Amit recommended discussing that behavioral change separately, and Masahiko agreed, leaving it outside this patch #5 #6.
- Robert shortened the documentation in #7, added the accidentally omitted error-hint change after Peter's reminder in #8, and refined its wording using Peter's feedback across #9 and #11; Peter approved the result in #12.
- Amit approved the patch and proposed backpatching it #13; Peter Smith questioned the need for a nonfunctional change #14, and Peter Eisentraut also questioned backpatching #17, prompting Amit to lay out separate options for the documentation and error hint #18.
- Peter Eisentraut concluded that the change was essentially a bug fix suitable for backpatching and requested the actual disable command in the error hint #19; Amit supplied revised documentation and an error hint showing both commands in #20.
- Peter Smith supplied and tested branch adaptations through PostgreSQL 10, retaining the unchanged HEAD patch #21; the supplied candidates 6973868c9d and a734caa25f match the final submission's older-branch and HEAD variants respectively and represent the same fix.
- Amit confirmed that the fix was pushed and backpatched through PostgreSQL 11, excluding the supplied PostgreSQL 10 patch because that branch was out of support; no further revisions remained pending in the thread #22.