model-writtenrun 8839 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Raúl Marín reported parallel pg_restore processes hanging after signals interrupted memory allocation or deallocation, because exit() invoked library cleanup that tried to reacquire an allocation lock; he initially proposed deferring termination through a flag #1.
- Tom Lane argued that deferred termination could prevent timely shutdown and proposed calling _exit() directly to bypass unsafe atexit handlers #2.
- Raúl Marín confirmed that Jenkins sent SIGTERM to the process group and agreed to trial _exit() on some servers despite initial concerns about skipping cryptographic library cleanup #3.
- After more than a week, Raúl Marín reported that hangs occurred only on unpatched servers and submitted the tested one-line fix with an explanatory comment #4.
- Tom Lane committed the patch with only a shortened comment as cd23a2019c, backpatched it to all supported branches, and announced completion #5; Raúl Marín's final thanks closed the thread with no outstanding work #6.