Hi, Thanks for committing the fix, Nathan. > Can we add some tests for HEAD for the autovacuum scoring feature? I > understand it's a bit hard to get the tests to run deterministically, > but if it's worth it, I can give it a try.
I already had one written, so let me share it to save you the effort. To keep it deterministic and fast, it fakes an old relfrozenxid and relminmxid with a catalog UPDATE instead of consuming transactions. Patch attached, on top of your commit. Thanks, Shihao
0001-Add-a-test-for-autovacuum-freeze-score-scaling.patch
Description: Binary data
