Move index vacuum routines to vacuum.c. An upcoming patch moves parallel vacuum code out of vacuumlazy.c. This code restructuring will allow both lazy vacuum and parallel vacuum to use index vacuum functions.
Author: Masahiko Sawada Reviewed-by: Hou Zhijie, Amit Kapila Discussion: https://www.postgresql.org/message-id/20211030212101.ae3qcouatwmy7tbr%40alap3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/cc8b25712b5ed8809048c7e209882bb0981214d6 Modified Files -------------- src/backend/access/heap/vacuumlazy.c | 173 +++++------------------------------ src/backend/commands/vacuum.c | 154 ++++++++++++++++++++++++++++++- src/include/commands/vacuum.h | 22 +++++ src/tools/pgindent/typedefs.list | 2 +- 4 files changed, 196 insertions(+), 155 deletions(-)
