model-writtenrun 3970 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed two wait events to expose checkpoint delays caused by backend delayChkptFlags, reported observing them under a heavy pgbench workload, and favored IPC classification because the checkpointer ultimately waits for another process #1.
- Robert Haas supported the proposal and agreed that IPC was appropriate because the polling timeout was an implementation detail #2.
- Michael Paquier agreed with IPC classification but identified that HaveVirtualXIDsDelayingChkpt() could overwrite the new event when acquiring ProcArrayLock #3.
- Robert Haas proposed setting and clearing each wait event immediately around pg_usleep(), instead of around the entire polling loop #4.
- Thomas Munro committed the patch from #1 with that placement correction as 0013ba290b, then confirmed it was pushed and thanked both reviewers, leaving no outstanding work in the thread #5.