Обсуждение: pgsql: Remove hastup from LVPagePruneState.

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

pgsql: Remove hastup from LVPagePruneState.

От
Robert Haas
Дата:
Remove hastup from LVPagePruneState.

Instead, just have lazy_scan_prune() and lazy_scan_noprune() update
LVRelState->nonempty_pages directly. This makes the two functions
more similar and also removes makes lazy_scan_noprune need one fewer
output parameters.

Melanie Plageman, reviewed by Andres Freund, Michael Paquier, and me

Discussion: http://postgr.es/m/CAAKRu_btji_wQdg=ok-5E4v_bGVxKYnnFFe7RA6Frc1EcOwtSg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2d5b3b9b643739bd83e42769b44005dfd2bbb90

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 53 +++++++++++++++++++-----------------
1 file changed, 28 insertions(+), 25 deletions(-)