model-writtenrun 8073 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread with #1, expanding Fujii Masao's ECONNABORTED fix for buildfarm member lorikeet into centralized handling of several connection-loss errors, with supporting Windows mappings and errno names.
- Kyotaro Horiguchi reviewed the code in #2, suggesting a shared errno list and Windows error translation; Tom clarified in #3 that the intended scope was established connections and that Windows already mapped the principal errno constants.
- Fujii Masao observed in #5 that the patch would hide useful errno-specific diagnostics, and Tom agreed in #6 to distinguish network failures from probable server crashes.
- Tom's revised patch in #7 retained generic strerror-based network diagnostics, added EHOSTDOWN and ENETRESET, made EPIPE handling consistent, and incorporated Kyotaro's suggestions; the thread ended with Tom considering it nearly ready but lacking Windows testing.
- fe27009cbb landed the revised patch from #7 with further changes that consolidated connection-failure cases into one macro and converted libpq checks to switches.
- Buildfarm failures then exposed the use of backend-private TranslateSocketError() in pg_dump, so eeb01eb1f5 removed the unnecessary piperead() error classification and called recv() directly.
- The related postgres_fdw test still depended on platform-specific error text, so 85d08b8b72, attributed to thread #219901, changed it to check SQLSTATE instead.
- The main change and its Windows repair landed, while back-patching remained tentative in fe27009cbb pending buildfarm results.