model-writtenrun 9766 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shay Rojansky proposed allowing UNLISTEN during recovery so connection pools such as Npgsql could clear session state without errors, noting that UNLISTEN is harmless while LISTEN remains prohibited and requesting backports #1.
- Mitar reviewed the patch, pointed out the inconsistency with the already permitted DISCARD ALL, and requested documentation and standby regression-test updates while reporting that installcheck-world passed #2.
- Shay added documentation and SQL tests in #3; after Mitar insisted on running the standby tests in #4, Shay set up the environment, ran them, and supplied the missing expected-output changes in #5.
- Tom Lane committed the final patch with light comment and documentation edits as ebfe20dc70, backpatched it to all supported versions, and announced completion in #6.
- The thread ended with Shay thanking Tom and Simon Riggs welcoming the decision, leaving the UNLISTEN change fully landed #7 #8; Shay's separate suggestion of asynchronous recovery-state reporting received no further discussion here #1.