model-writtenrun 6937 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- CharSyam (DaeMyung Kang) reported that repeated streaming starts leaked reply_message's buffer and proposed initializing it once before the outer loop, since subsequent uses already reset and reuse it #1.
- The author reported passing make check and the streaming replication TAP test, added no tests because observable behavior was unchanged, and suggested backpatching the longstanding leak fix #1.
- Michael Paquier agreed with the cleanup but considered its impact too minor to justify backpatching #2.
- Michael Paquier's final reply announced that he would merge the patch with a related leak fix discussed in another thread #2.
- The resulting development-branch commit preserved the complete initialization move from #1, added a comment, and combined it with the primary_sysid deallocation from thread #139489; the fix landed with nothing outstanding in this thread, and no backpatch was made because noticeable leakage would require many timeline switches b801d5eef1.