• Tom Lane's avatar
    Flush any remaining statistics counts out to the collector at process · 9336d636
    Tom Lane authored
    exit.  Without this, operations triggered during backend exit (such as
    temp table deletions) won't be counted ... which given heavy usage of
    temp tables can lead to pg_autovacuum falling way behind on the need
    to vacuum pg_class and pg_attribute.  Per reports from Steve Crawford
    and others.
    9336d636
pgstat.c 68.3 KB