]> granicus.if.org Git - postgresql/commit
Fix WAL-logging of setting the visibility map bit.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Dec 2013 11:52:47 +0000 (13:52 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Dec 2013 12:23:02 +0000 (14:23 +0200)
commit615299cf63a730f9e170532c4782cd5a4a06a7ac
tree7ce98c8f9a01d2c59d78579834d60b5570a5d980
parentb57947aa9cacaac58b4baa7b30306ccf803d6c88
Fix WAL-logging of setting the visibility map bit.

The operation that removes the remaining dead tuples from the page must
be WAL-logged before the setting of the VM bit. Otherwise, if you replay
the WAL to between those two records, you end up with the VM bit set, but
the dead tuples are still there.

Backpatch to 9.3, where this bug was introduced.
src/backend/commands/vacuumlazy.c