• Heikki Linnakangas's avatar
    Fix WAL-logging of setting the visibility map bit. · a49633d8
    Heikki Linnakangas authored
    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.
    a49633d8
vacuumlazy.c 53.5 KB