Attached patch teaches btree_xlog_vacuum, nbtree VACUUM's REDO routine, to reset the target page's opaque->btpo_cycleid to 0. This makes the REDO routine match original execution, which seems like a good idea on consistency grounds.
I propose this for the master branch only. -- Peter Geoghegan
v1-0001-Clear-btpo_cycleid-in-btree_xlog_vacuum.patch
Description: Binary data