aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>2004-02-06 19:36:18 +0000
committerJan Wieck <JanWieck@Yahoo.com>2004-02-06 19:36:18 +0000
commitf425b605f4e97a4571372b116a1ec81daf88dfc8 (patch)
tree65acd8532a650b76c988890df2ac05f867e9d87c /src/backend/tcop/postgres.c
parent687d7cf3550f74bb09ddc0217025aad6fcc43a95 (diff)
downloadpostgresql-f425b605f4e97a4571372b116a1ec81daf88dfc8.tar.gz
postgresql-f425b605f4e97a4571372b116a1ec81daf88dfc8.zip
Cost based vacuum delay feature.
Jan
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c7
1 files changed, 6 insertions, 1 deletions
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
@@ -2708,6 +2708,11 @@ PostgresMain(int argc, char *argv[], const char *username)
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
* ReadyForQuery (until we get Sync).