summaryrefslogtreecommitdiff
path: root/src/backend/commands/vacuum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/vacuum.c')
-rw-r--r--src/backend/commands/vacuum.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c
index 04dbbe5530a..e0fc7e8d794 100644
--- a/src/backend/commands/vacuum.c
+++ b/src/backend/commands/vacuum.c
@@ -352,13 +352,6 @@ vacuum(List *relations, VacuumParams *params,
errmsg("PROCESS_TOAST required with VACUUM FULL")));
/*
- * Send info about dead objects to the cumulative stats system, unless
- * we are in autovacuum --- autovacuum.c does this for itself.
- */
- if ((params->options & VACOPT_VACUUM) && !IsAutoVacuumWorkerProcess())
- pgstat_vacuum_stat();
-
- /*
* Create special memory context for cross-transaction storage.
*
* Since it is a child of PortalContext, it will go away eventually even