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:
@ -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.
|
||||
|
Reference in New Issue
Block a user