• Alvaro Herrera's avatar
    Avoid uselessly looking up old LOCK_ONLY multixacts · 05315498
    Alvaro Herrera authored
    Commit 0ac5ad51 removed an optimization in multixact.c that skipped
    fetching members of MultiXactId that were older than our
    OldestVisibleMXactId value.  The reason this was removed is that it is
    possible for multixacts that contain updates to be older than that
    value.  However, if the caller is certain that the multi does not
    contain an update (because the infomask bits say so), it can pass this
    info down to GetMultiXactIdMembers, enabling it to use the old
    optimization.
    
    Pointed out by Andres Freund in 20131121200517.GM7240@alap2.anarazel.de
    05315498
pgrowlocks.c 8.05 KB