• K
    Eliminate xmin from hash tag for predicate locks on heap tuples. · c01262a8
    Kevin Grittner 提交于
    If a tuple was frozen while its predicate locks mattered,
    read-write dependencies could be missed, resulting in failure to
    detect conflicts which could lead to anomalies in committed
    serializable transactions.
    
    This field was added to the tag when we still thought that it was
    necessary to carry locks forward to a new version of an updated
    row.  That was later proven to be unnecessary, which allowed
    simplification of the code, but elimination of xmin from the tag
    was missed at the time.
    
    Per report and analysis by Heikki Linnakangas.
    Backpatch to 9.1.
    c01262a8
predicate_internals.h 17.0 KB