• Tom Lane's avatar
    Doc: split up wait_event table. · 4fa8bd39
    Tom Lane authored
    The previous design for this table didn't really work in narrow views,
    such as PDF output; besides which its reliance on large morerows
    values made it a pain to maintain (cf ab3e4fbd, for example).
    
    I experimented with a couple of ways to fix it, but the best and
    simplest is to split it up into a separate table for each event
    type category.
    
    I also rearranged the event ordering to be strictly alphabetical,
    as nobody would ever be able to find entries otherwise.
    
    There is work afoot to revise the set of event names described
    in this table, but this commit just changes the layout, not the
    contents.
    
    In passing, add a missing entry to pg_locks.locktype,
    and cross-reference that to the related wait event list.
    
    Discussion: https://postgr.es/m/6916.1589146280@sss.pgh.pa.us
    4fa8bd39
monitoring.sgml 228 KB