• S
    Reduce spurious Hot Standby conflicts from never-visible records. · b9075a6d
    Simon Riggs 提交于
    Hot Standby conflicts only with tuples that were visible at
    some point. So ignore tuples from aborted transactions or for
    tuples updated/deleted during the inserting transaction when
    generating the conflict transaction ids.
    
    Following detailed analysis and test case by Noah Misch.
    Original report covered btree delete records, correctly observed
    by Heikki Linnakangas that this applies to other cases also.
    Fix covers all sources of cleanup records via common code.
    b9075a6d
heapam.c 142.6 KB