model-writtenrun 110 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joel Jacobson reported that early termination of pg_listening_channels() could leak hash scans and eventually crash the backend, proposing tuplestore materialization and a LIMIT regression test in #1.
- Sho Ito reproduced the crash with assertions enabled, confirmed that the patch eliminated warnings and errors, and endorsed the materialization approach in #2.
- Joel reported that all 239 core regression tests passed, including async, and identified the Windows cfbot failure as an apparently unrelated SSL negotiation test failure in #5.
- Tom Lane questioned the need for MAT_SRF_USE_EXPECTED_DESC in #6, then demonstrated that omitting it caused a return-type error and deferred reconsidering the helper's design in #7, the thread's last message.
- After the final discussion, Tom committed #1 as 2b491ff1cd, retaining the approach and tests while removing the per-row free and adjusting null initialization; the fix landed with a backpatch through PostgreSQL 19.