model-writtenrun 8654 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported missing startup-process wait events and duplicated 'waiting' text during recovery conflicts, tracing them to uninstrumented sleeps and overlapping process-title updates in #1.
- Sawada posted fixes using existing wait events and reorganized title updates in #2, then supplied an additional PostgreSQL 13 patch introducing a RecoveryConflict category with five events in #3.
- Michael Paquier considered the changes improvements in #6, while Fujii Masao distinguished the duplicated process-title text as a backpatchable bug in #7, leading Sawada to separate title changes from wait-event improvements in #8.
- Fujii objected to reporting waiting when no conflict required it in #9 and distinguished new reporting behavior from the existing bug in #11; Sawada consequently split the title work into a duplicate-waiting fix and database/buffer-pin enhancements in #12.
- Fujii replaced the duplicate-waiting implementation with a caller-controlled report_waiting flag that preserved the existing 500 ms threshold in #13, Sawada accepted the safer backpatch approach in #14, and 17d3fcdc39 landed it with only an added zero initializer for waitStart and was backpatched to all supported branches.
- After Fujii questioned frequent buffer-pin title updates in #17, Sawada moved reporting into LockBufferForCleanup() and applied a 500 ms threshold in #18, leaving the database and buffer-pin enhancements as the remaining process-title work.
- Fujii argued that database conflicts terminate sessions immediately and that unusually long termination waits would be better logged in #19; Sawada agreed to drop database title reporting and leave possible logging to separate discussion in #20.
- Fujii simplified buffer-pin reporting in #21 to avoid frequent timestamp calls, restrict it to hot standby, and display waiting before a potentially long blocking call; 64638ccba3 landed that attachment unchanged.
- Reviewing the outstanding wait-event patch, Fujii questioned replacement names for existing lock and buffer-pin events and removal of progressive sleep intervals in #24; Sawada retained the existing events, restored increasing sleeps, and dropped the database event in #25.
- Fujii questioned the WaitLatch() conversion and movement of ProcWaitForSignal(), and proposed using the existing IPC category in #26; Sawada implemented explicit wait reporting around pg_usleep() and two IPC events in #27.
- Fujii requested documentation row-count, ordering, and wording corrections in #28, which Sawada supplied in #29; 18808f8c89 landed that final patch unchanged, adding snapshot and tablespace events and filling the missing lock-wait reporting.
- Fujii confirmed the final push in #31 and Sawada closed with thanks in #32, leaving all retained work committed and database reporting omitted, with possible database-conflict logging deferred to a separate proposal.