diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-12-26 17:01:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-12-26 17:01:23 +0900 |
commit | 1ab41a3c8edcf5d7751e61d6ab83bf43b494668b (patch) | |
tree | 5dd1631b8c3ed1b4b50865dd7a2efef05c64c1aa /src/backend/parser/parse_clause.c | |
parent | 1ab029d528dcb409fb371d5ad826a67ec78b2b4e (diff) | |
download | postgresql-1ab41a3c8edcf5d7751e61d6ab83bf43b494668b.tar.gz postgresql-1ab41a3c8edcf5d7751e61d6ab83bf43b494668b.zip |
Refactor code dedicated to index vacuuming in vacuumlazy.c
The part in charge of doing the vacuum on all the indexes of a relation
was duplicated, with the same handling for progress reporting done.
While on it, update the progress reporting for heap vacuuming in the
subroutine doing the actual work, keeping the status update local. This
way, any future caller of lazy_vacuum_heap() does not have to worry
about doing any progress reporting update.
Author: Justin Pryzby, Michael Paquier
Discussion: https://postgr.es/m/20191120210600.GC30362@telsasoft.com
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions