Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> And just by the way, each backend has its own semaphore, so in actual
> usage we're probably only talking about the "superfluous wakeups"
> mentioned in lwlock.c, clog.c and procarray.c. I suppose it's not
> expected to go very high at all?
I wouldn't expect so.
regards, tom lane