• Tom Lane's avatar
    Endeavor to make pgstats buffer process (a) safe and (b) useful. · e8f10973
    Tom Lane authored
    Make sure it exits immediately when collector process dies --- in old code,
    buffer process would hang around and compete with the new buffer process
    for packets.  Make sure it doesn't block on writing the pipe when the
    collector falls more than a pipeload behind.  Avoid leaking pgstats FDs
    into every backend.
    e8f10973
pgstat.h 11.5 KB