]> 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:15:04 +0000 (14:15 +0200)
commita49633d8dc6c66f6b2e92c8598d3dfa2cc72a259
tree8495d6722e5c384d4fb128ef9ef3ce1d5c286f68
parent46328916eefc5f9eaf249518e96f68afcd35923b
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