forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3379263
committed
Count locked pages that don't need vacuuming as scanned.
Previously, if VACUUM skipped vacuuming a page because it's pinned, itdidn't count that page as scanned. However, that meant that relfrozenxidwas not bumped up either, which prevented anti-wraparound vacuum fromdoing 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.1 parentb18882a commit3379263
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
| 592 | + | |
592 | 593 |
| |
593 | 594 |
| |
594 | 595 |
| |
|
0 commit comments
Comments
(0)