model-writtenrun 1017 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Tiwari initially proposed correcting a PM_STARTUP comment that incorrectly claimed no other processes were running when the startup process failed #1.
- Heikki Linnakangas pointed out that the postmaster needed to kill and wait for auxiliary processes before exiting #2, and Ayush agreed to use the existing crash-handling machinery and permit PM_STARTUP in HandleFatalError() #3.
- Ayush submitted a replacement patch that removed the immediate-exit shortcut and routed PM_STARTUP through PM_WAIT_BACKENDS; his corrupted-WAL reproduction showed orphaned children before the fix and SIGQUIT deliveries before postmaster exit afterward #4.
- Michael Paquier agreed with removing the assertion and identified the need for backpatching #5; Ayush explained that following the common shutdown state sequence avoided introducing a special case even when PM_WAIT_BACKENDS had no backend work to do #6.
- Michael committed #4 as 9b43e6793b with light comment edits, including a correction to the introductory startup-state description, and reported testing and applying the fix across v15 through HEAD with branch-specific shutdown handling #7.
- The thread ended with Ayush thanking Michael for committing the fix, with no outstanding work raised #8.