File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/backend/access/nbtree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -719,11 +719,11 @@ btree_xlog_delete_get_latestRemovedXid(xl_btree_delete *xlrec)
719
719
UnlockReleaseBuffer (ibuffer );
720
720
721
721
/*
722
- * XXX If all heap tuples were LP_DEAD then we will be returning
723
- * InvalidTransactionId here, causing conflict for all HS transactions.
724
- * That should happen very rarely (reasoning please?). Also note that
725
- * caller can't tell the difference between this case and the fast path
726
- * exit above. May need to change that in future .
722
+ * If all heap tuples were LP_DEAD then we will be returning
723
+ * InvalidTransactionId here, which avoids conflicts. This matches
724
+ * existing logic which assumes that LP_DEAD tuples must already be
725
+ * older than the latestRemovedXid on the cleanup record that
726
+ * set them as LP_DEAD, hence must already have generated a conflict .
727
727
*/
728
728
return latestRemovedXid ;
729
729
}
You can’t perform that action at this time.
0 commit comments