We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9075a6 commit 9975c68Copy full SHA for 9975c68
src/backend/access/heap/heapam.c
@@ -3809,11 +3809,9 @@ HeapTupleHeaderAdvanceLatestRemovedXid(HeapTupleHeader tuple,
3809
!(tuple->t_infomask & HEAP_XMIN_INVALID) &&
3810
TransactionIdDidCommit(xmin)))
3811
{
3812
- if (TransactionIdFollows(xmax, xmin))
3813
- {
3814
- if (TransactionIdFollows(xmax, *latestRemovedXid))
+ if (xmax != xmin &&
+ TransactionIdFollows(xmax, *latestRemovedXid))
3815
*latestRemovedXid = xmax;
3816
- }
3817
}
3818
3819
/* *latestRemovedXid may still be invalid at end */
0 commit comments