pgsql: Move VM update code from lazy_scan_heap() to lazy_scan_prune().

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Move VM update code from lazy_scan_heap() to lazy_scan_prune().
Дата
Msg-id E1rQYKR-0022rd-9B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move VM update code from lazy_scan_heap() to lazy_scan_prune().

Most of the output parameters of lazy_scan_prune() were being
used to update the VM in lazy_scan_heap(). Moving that code into
lazy_scan_prune() simplifies lazy_scan_heap() and requires less
communication between the two.

This change permits some further code simplification, but that
is left for a separate commit.

Melanie Plageman, reviewed by me.

Discussion: http://postgr.es/m/CAAKRu_aM=OL85AOr-80wBsCr=vLVzhnaavqkVPRkFBtD0zsuLQ@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 226 ++++++++++++++++++-----------------
1 file changed, 115 insertions(+), 111 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Clarify language in incremental backup glossary entry.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove LVPagePruneState.