> I think the wait event types should be documented - and the wait
> events too, perhaps. >
As discussed upthread, I have added documentation for all the possible wait events and an example. Some of the LWLocks like AsyncQueueLock and AsyncCtlLock are used for quite similar purpose, so I have kept there explanation as same.
Do you think it worth grouping rows in "wait_event Description" table by wait event type? It would be nice if user a priori knows which wait event have which type. Readability of this large table will be also improved.