model-writtenrun 5746 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane explained in #1 that failing libpq event callbacks could corrupt result semantics, disrupt pipeline and single-row modes, and invalidate connections; he proposed isolating callback failures from libpq's processing.
- Tom Lane submitted two patches in #2: one preserved PGresult processing after RESULTCREATE or RESULTCOPY callback failures, while the other ignored CONNRESET callback return values.
- Alvaro Herrera observed in #3 that libpq events lacked core tests and suggested a test module, without reporting a defect in the submitted patches or testing or approving them.
- Tom Lane acknowledged the testing suggestion in #4, the final thread message; no test implementation or revised patchset followed in the supplied discussion.
- The result-callback patch from #2 landed unchanged as ce1e7a2f71 on February 18, 2022.
- The connection-reset patch from #2 landed unchanged shortly afterward as 2e372869aa, completing the submitted series while leaving the proposed test module unimplemented here.