• Robert Haas's avatar
    After PageSetAllVisible, use MarkBufferDirty. · e93c0b82
    Robert Haas authored
    Previously, we used SetBufferCommitInfoNeedsSave, but that's really
    intended for dirty-marks we can theoretically afford to lose, such as
    hint bits.  As for 9.2, the PD_ALL_VISIBLE mustn't be lost in this
    way, since we could then end up with a heap page that isn't
    all-visible and a visibility map page that is all visible, causing
    index-only scans to return wrong answers.
    e93c0b82
vacuumlazy.c 43.5 KB