summaryrefslogtreecommitdiff
path: root/src/include/postmaster/autovacuum.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-08-11 21:11:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-08-11 21:11:50 +0000
commitd90c531188196cd4ea6683c7f4395151b42028a2 (patch)
treeaef955843c8a9648f7841d0e934ed152976129fa /src/include/postmaster/autovacuum.h
parentf6c30d54fa26047cc2e7315debb85a0a20a07c90 (diff)
downloadpostgresql-d90c531188196cd4ea6683c7f4395151b42028a2.tar.gz
Autovacuum loose end mop-up. Provide autovacuum-specific vacuum cost
delay and limit, both as global GUCs and as table-specific entries in pg_autovacuum. stats_reset_on_server_start is now OFF by default, but a reset is forced if we did WAL replay. XID-wrap vacuums do not ANALYZE, but do FREEZE if it's a template database. Alvaro Herrera
Diffstat (limited to 'src/include/postmaster/autovacuum.h')
-rw-r--r--src/include/postmaster/autovacuum.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/postmaster/autovacuum.h b/src/include/postmaster/autovacuum.h
index 85667af1cc..620a528f1b 100644
--- a/src/include/postmaster/autovacuum.h
+++ b/src/include/postmaster/autovacuum.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/postmaster/autovacuum.h,v 1.1 2005/07/14 05:13:43 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/postmaster/autovacuum.h,v 1.2 2005/08/11 21:11:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,6 +21,8 @@ extern int autovacuum_vac_thresh;
extern double autovacuum_vac_scale;
extern int autovacuum_anl_thresh;
extern double autovacuum_anl_scale;
+extern int autovacuum_vac_cost_delay;
+extern int autovacuum_vac_cost_limit;
/* Status inquiry functions */
extern bool AutoVacuumingActive(void);