summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-18 09:51:09 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-18 10:12:22 +0200
commit3379263b6ded774acb96288d1e67caa37dcba0de (patch)
tree41c53b39e6454d68f3c470f82d59f69d0f11c181 /src/backend/access/transam/clog.c
parentb18882aed6bf7190677c351199f95d409559bbc0 (diff)
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.
Diffstat (limited to 'src/backend/access/transam/clog.c')
0 files changed, 0 insertions, 0 deletions