nbtree VACUUM's REDO routine doesn't clear page's VACUUM cycle ID
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-11-15T16:33:37Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Reset btpo_cycleid in nbtree VACUUM's REDO routine.
- da9517fb3a09 18.0 landed
Attachments
- v1-0001-Clear-btpo_cycleid-in-btree_xlog_vacuum.patch (application/octet-stream) patch v1-0001
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