model-writtenrun 6936 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- CharSyam, signing as DaeMyung Kang, reported that repeated streaming restarts leak primary_sysid and proposed freeing it immediately after checking the primary's system identifier #1.
- The author reported passing make check and the streaming replication TAP test, explained that error cleanup already handles the failure path, and requested consideration for backpatching #1.
- Michael Paquier confirmed that a WAL receiver can remain alive across retries, correcting his initial impression that the affected path runs only once #2.
- Michael Paquier favored fixing HEAD only because the leak is small and requires repeated timeline switches to accumulate, while changing the connection information restarts the receiver #2.
- The complete primary_sysid fix from #1 landed unchanged alongside the reply_message initialization fix from thread #139488 in b801d5eef1, which credits DaeMyung Kang and declines backpatching because the impact is minimal; no proposed changes remain outstanding.