• Robert Haas's avatar
    Prevent index-only scans from returning wrong answers under Hot Standby. · 3424bff9
    Robert Haas authored
    The alternative of disallowing index-only scans in HS operation was
    discussed, but the consensus was that it was better to treat marking
    a page all-visible as a recovery conflict for snapshots that could still
    fail to see XIDs on that page.  We may in the future try to soften this,
    so that we simply force index scans to do heap fetches in cases where
    this may be an issue, rather than throwing a hard conflict.
    3424bff9
visibilitymap.c 19.2 KB