summaryrefslogtreecommitdiff
path: root/src/include/pgstat.h
diff options
context:
space:
mode:
authorTom Lane2005-08-15 16:25:19 +0000
committerTom Lane2005-08-15 16:25:19 +0000
commit87808aef05c91bdd26cb4447489db8a35c0d6fb2 (patch)
tree2682d39842475a37e9a37030d37b3ecddd1e2e68 /src/include/pgstat.h
parent2498d8296eebd6706d5a00886a4f5ba02a1fe261 (diff)
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".
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r--src/include/pgstat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index f747928a22..5118fbc51d 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 2001-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.35 2005/08/11 21:11:49 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.36 2005/08/15 16:25:18 tgl Exp $
* ----------
*/
#ifndef PGSTAT_H
@@ -384,7 +384,7 @@ extern void pgstat_bestart(void);
extern void pgstat_ping(void);
extern void pgstat_report_activity(const char *what);
extern void pgstat_report_tabstat(void);
-extern void pgstat_report_autovac(void);
+extern void pgstat_report_autovac(Oid dboid);
extern void pgstat_report_vacuum(Oid tableoid, bool shared,
bool analyze, PgStat_Counter tuples);
extern void pgstat_report_analyze(Oid tableoid, bool shared,