Skip to content

Commit 01e7631

Browse files
committed
Undo commenting of TransactionIdIsInProgress
1 parent 1fe0f5b commit 01e7631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/time/tqual.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ HeapTupleSatisfiesMVCC(HeapTuple htup, Snapshot snapshot,
10651065
else
10661066
{
10671067
/* it must have aborted or crashed */
1068-
//if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmin(tuple)))
1068+
if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmin(tuple)))
10691069
SetHintBits(tuple, buffer, HEAP_XMIN_INVALID,
10701070
InvalidTransactionId);
10711071
return false;
@@ -1130,7 +1130,7 @@ HeapTupleSatisfiesMVCC(HeapTuple htup, Snapshot snapshot,
11301130
if (!TransactionIdDidCommit(HeapTupleHeaderGetRawXmax(tuple)))
11311131
{
11321132
/* it must have aborted or crashed */
1133-
//if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmax(tuple)))
1133+
if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmax(tuple)))
11341134
SetHintBits(tuple, buffer, HEAP_XMAX_INVALID,
11351135
InvalidTransactionId);
11361136
return true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy