• Robert Haas's avatar
    Provide much better wait information in pg_stat_activity. · 53be0b1a
    Robert Haas authored
    When a process is waiting for a heavyweight lock, we will now indicate
    the type of heavyweight lock for which it is waiting.  Also, you can
    now see when a process is waiting for a lightweight lock - in which
    case we will indicate the individual lock name or the tranche, as
    appropriate - or for a buffer pin.
    
    Amit Kapila, Ildus Kurbangaliev, reviewed by me.  Lots of helpful
    discussion and suggestions by many others, including Alexander
    Korotkov, Vladimir Borodin, and many others.
    53be0b1a
bgwriter.c 13.5 KB