On Fri, Oct 13, 2023 at 2:19 PM Robert Haas <robertmh...@gmail.com> wrote: > On Thu, Oct 12, 2023 at 7:09 PM Michael Paquier <mich...@paquier.xyz> wrote: > > HaveVirtualXIDsDelayingChkpt() does immediately a LWLockAcquire() > > which would itself report a wait event for ProcArrayLock, overwriting > > this new one, no? > > Ah, right: the wait event should be set and cleared around pg_usleep, > not the whole loop.
Duh. Yeah. Pushed like that. Thanks both.