Allow the pgstat views to show toast tables as well as regular tables
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Aug 2005 16:25:19 +0000 (16:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Aug 2005 16:25:19 +0000 (16:25 +0000)
commit87808aef05c91bdd26cb4447489db8a35c0d6fb2
tree2682d39842475a37e9a37030d37b3ecddd1e2e68
parent2498d8296eebd6706d5a00886a4f5ba02a1fe261
Allow the pgstat views to show toast tables as well as regular tables
(the stats system has always collected this info, but the views were
filtering it out).  Modify autovacuum so that over-threshold activity
in a toast table can trigger a VACUUM of the parent table, even if the
parent didn't appear to need vacuuming itself.  Per discussion a month
or so back about "short, wide tables".
src/backend/catalog/system_views.sql
src/backend/postmaster/autovacuum.c
src/backend/postmaster/pgstat.c
src/include/catalog/catversion.h
src/include/pgstat.h
src/test/regress/expected/rules.out