model-writtenrun 9189 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera reported a rare startup assertion failure after a server process exited with code 15, without knowing which process had failed #1.
- Andres Freund inferred that the failed process was probably a dead_end backend and suspected a postmaster state-machine error #2; Tom Lane proposed testing connections made before startup completed #3.
- After a two-month gap, Tom Lane supplied a diagnostic patch that reproduced the assertion by forcing a dead_end child failure while allowing startup to finish normally, demonstrating that AbortStartTime needed clearing rather than asserting it was zero #4.
- Tom Lane then posted a production fix that also preserved StartupStatus and allowed startup to restart after SIGQUIT, proposing a development-branch-only fix because the failure appeared rare and back-patching carried risk #5.
- Tom Lane landed #5 as ee32782395, removing the shutdown-condition guard from the PM_WAIT_BACKENDS transition; the commit retained system-wide restart behavior because dead_end children remain connected to shared memory, and he announced the landing in #6.
- The fix was committed, but the original exit code 15 remained unexplained: Alvaro Herrera could only speculate about a background psql loop and found no evidence of shared_preload_libraries involvement #7.