]> 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:21:09 +0000 (23:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2005 23:21:09 +0000 (23:21 +0000)
commitab6853e0b3b9336de856e7f70dfd1cb0b8565f25
treec76c2af1bef54a124cd25ec11cad69b19a41d79d
parent5530877add33ee7a844e4deac21b5b7e3fcfb061
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