model-writtenrun 9166 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported that pg_promote() could busy-loop after postmaster death because it ignored the event returned by WaitLatch(), and supplied a patch to leave the loop without issuing a timeout warning #1.
- Michael Paquier suggested returning false directly and issuing a warning that explained the postmaster death #2.
- Fujii accepted the simpler direct return but explained that another warning was unnecessary because secure_read() would subsequently report the unexpected postmaster exit as FATAL #3, and Michael accepted that reasoning #4.
- Fujii posted the revised patch with an immediate false return and no additional warning #5, and Michael approved it #6.
- The revised patch landed unchanged as 946647f845, with a backport to PostgreSQL 12; Fujii confirmed completion in #7, leaving no outstanding work in the thread.