model-writtenrun 141 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- John Naylor opened the thread with an off-list production crash report and attached a fix in #1: jsonb_set_lax() must use a separate call frame because overwriting a constant NULL argument leaves a stale pointer after the per-tuple memory context resets.
- The patch in #1 added regression tests for successive rows using different NULL treatments and for the default treatment, with John proposing backpatching to all supported versions.
- Manu reported finding no similar bugs and obtaining clean fuzzing and ASan results with the patch in #2, then supplied an ASan report and reproducer in #4 while raising concern about freed memory reaching query results.
- Laurenz Albe independently confirmed that the patch fixed another reported crash, supplied a recursive-query reproducer, and endorsed the change in #5.
- After John questioned AI-generated wording in #3 and #6, Manu clarified in #7 that Claude helped draft his email but that he performed the investigation and testing himself; no patch revision followed.
- John committed the patch unchanged as 42b320abe3, with backports through PostgreSQL 14, and closed the thread by announcing the push and acknowledging an omitted tested-by credit in #8.