]> granicus.if.org Git - postgresql/commit
Dept of second thoughts: the !scan_all exit mustn't increase scanned_pages.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Dec 2015 22:32:23 +0000 (17:32 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Dec 2015 22:32:23 +0000 (17:32 -0500)
commite5d06f2b12a7c75f2b0c7fd2055a14efaa2b59ec
tree6614442648db2d5368343e400bd873705fa00a5e
parente842908233bb9c5cea0e765fc828b52badd8228e
Dept of second thoughts: the !scan_all exit mustn't increase scanned_pages.

In the extreme edge case where contended pages are the only ones that
escape being scanned, the previous commit would have allowed us to think
that relfrozenxid could be advanced, which is exactly wrong.
src/backend/commands/vacuumlazy.c