Flush any remaining statistics counts out to the collector at process
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2005 23:21:32 +0000 (23:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2005 23:21:32 +0000 (23:21 +0000)
commit3ea32d7b1f7ffa441d4e46e8bc20104645efefac
tree941e7306a03233fd51c44e9b8273f77b16d67494
parent7d19650a793969f49eef585c886ad3342911253f
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