]> granicus.if.org Git - postgresql/commit
Flush any remaining statistics counts out to the collector at process
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2005 23:20:49 +0000 (23:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2005 23:20:49 +0000 (23:20 +0000)
commit9336d636e29a75be5c9a80b5a3bd455ff59468e5
tree56063b9bdddf6063aff91af162290de2211e648f
parent47888fe84227aaf3decffc7204554bdec54d2b29
Flush any remaining statistics counts out to the collector at process
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.
src/backend/postmaster/pgstat.c