1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

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.
This commit is contained in:
Peter Geoghegan
2021-02-11 16:49:41 -08:00
parent 62535cae97
commit 3063eb1759
2 changed files with 4 additions and 9 deletions

View File

@ -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.