On Mon, Jul 5, 2021 at 9:25 PM Stephen Frost <sfr...@snowman.net> wrote: > In general, I agree with Tom's up-thread comment about children hanging > around after postmaster death making things more difficult for debugging > and just in general, so I'm in favor of trying to eliminate as many > cases where that's happening as we reasonably can without impacting > performance by checking too often.
I agree. I'm attaching the patch that replaces pg_usleep with WaitLatch for {pre, post}_auth_delay. I'm also attaching Michael's latest patch stop-backup-latch-v2.patch, just for the sake of cfbot. Regards, Bharath Rupireddy.
stop-backup-latch-v2.patch
Description: Binary data
v1-0003-Use-a-WaitLatch-for-Pre-and-Post-Auth-Delay.patch
Description: Binary data