pgsql: Refactor lazy_scan_prune() VM clear logic into helper

Поиск
Список
Период
Сортировка
Искать

pgsql: Refactor lazy_scan_prune() VM clear logic into helper

От:
Melanie Plageman <melanieplageman@gmail.com>
Дата:
Refactor lazy_scan_prune() VM clear logic into helper

Encapsulating the cases that clear the visibility map after vacuum phase
I, when corruption is detected, into in a helper makes the code cleaner
and enables further refactoring in future commits.

Author: Melanie Plageman 
Reviewed-by: Andres Freund 
Reviewed-by: Kirill Reshke 
Reviewed-by: Chao Li 
Reviewed-by: Andrey Borodin 
Discussion: https://postgr.es/m/7ib3sa55sapwjlaz4sijbiq7iezna27kjvvvar4dpgkmadml6t%40gfpkkwmdnepx

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19af794b660e3711d8b698aeedfc33e13dc235d8

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 131 ++++++++++++++++++++++-------------
1 file changed, 83 insertions(+), 48 deletions(-)

FAQ