Andres Freund writes:
> Introduce WaitEventSet API.
Buildfarm member gaur has a quibble with this patch:
latch.c:1095: warning: `WaitEventSetWaitBlock' declared inline after being
called
Please rearrange the file so that the inline function definitions appear
first. Also, why is it that only
Introduce WaitEventSet API.
Commit ac1d794 ("Make idle backends exit if the postmaster dies.")
introduced a regression on, at least, large linux systems. Constantly
adding the same postmaster_alive_fds to the OSs internal datastructures
for implementing poll/select can cause significant contention