Обсуждение: pgsql: Count locked pages that don't need vacuuming as scanned.

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

pgsql: Count locked pages that don't need vacuuming as scanned.

От
Heikki Linnakangas
Дата:
Count locked pages that don't need vacuuming as scanned.

Previously, if VACUUM skipped vacuuming a page because it's pinned, it
didn't count that page as scanned. However, that meant that relfrozenxid
was not bumped up either, which prevented anti-wraparound vacuum from
doing its job.

Report by Миша Тюрин, analysis and patch by Sergey Burladyn and Jeff Janes.
Backpatch to 9.2, where the skip-locked-pages behavior was introduced.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ea2bb1b47d7629a17dbc0c7da66cf063f8d3a768

Modified Files
--------------
src/backend/commands/vacuumlazy.c |    1 +
1 file changed, 1 insertion(+)