From f425b605f4e97a4571372b116a1ec81daf88dfc8 Mon Sep 17 00:00:00 2001 From: Jan Wieck Date: Fri, 6 Feb 2004 19:36:18 +0000 Subject: Cost based vacuum delay feature. Jan --- src/backend/tcop/postgres.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 1ea95d2e507..735e5aa69d3 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.388 2004/02/03 17:34:03 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.389 2004/02/06 19:36:18 wieck Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2707,6 +2707,11 @@ PostgresMain(int argc, char *argv[], const char *username) InError = false; xact_started = false; + /* + * Clear flag that causes accounting for cost based vacuum. + */ + VacuumCostActive = false; + /* * If we were handling an extended-query-protocol message, * initiate skip till next Sync. This also causes us not to issue -- cgit v1.2.3