diff options
author | Jan Wieck <JanWieck@Yahoo.com> | 2004-02-06 19:36:18 +0000 |
---|---|---|
committer | Jan Wieck <JanWieck@Yahoo.com> | 2004-02-06 19:36:18 +0000 |
commit | f425b605f4e97a4571372b116a1ec81daf88dfc8 (patch) | |
tree | 65acd8532a650b76c988890df2ac05f867e9d87c /src/backend/tcop/postgres.c | |
parent | 687d7cf3550f74bb09ddc0217025aad6fcc43a95 (diff) | |
download | postgresql-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.c | 7 |
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). |