summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorPeter Geoghegan2021-02-12 00:49:41 +0000
committerPeter Geoghegan2021-02-12 00:49:41 +0000
commit3063eb17593c3ad498ce4e89db3358862ea2dbb6 (patch)
tree32ef5dbcabfe0e7eae3784fad45c33ec7d7dabcc /src/backend/access/gist/gistvacuum.c
parent62535cae9723afc48173ba1be65f1c7491813fc2 (diff)
Remove obsolete IndexBulkDeleteResult stats field.
The pages_removed field is no longer used for anything. It hasn't been possible for an index to physically shrink since old-style VACUUM FULL was removed by commit 0a469c87.
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
-rw-r--r--src/backend/access/gist/gistvacuum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/access/gist/gistvacuum.c b/src/backend/access/gist/gistvacuum.c
index 94a7e12763..ddecb8ab18 100644
--- a/src/backend/access/gist/gistvacuum.c
+++ b/src/backend/access/gist/gistvacuum.c
@@ -546,9 +546,6 @@ gistvacuum_delete_empty_pages(IndexVacuumInfo *info, GistVacState *vstate)
ReleaseBuffer(buffer);
- /* update stats */
- vstate->stats->pages_removed += deleted;
-
/*
* We can stop the scan as soon as we have seen the downlinks, even if
* we were not able to remove them all.