Skip to content

Commit 58caa64

Browse files
committed
less logs in tqual
1 parent 660f187 commit 58caa64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/utils/time/tqual.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,12 +1162,12 @@ HeapTupleSatisfiesMVCC(HeapTuple htup, Snapshot snapshot,
11621162
Buffer buffer)
11631163
{
11641164
bool result = _HeapTupleSatisfiesMVCC(htup, snapshot, buffer);
1165-
HeapTupleHeader tuple = htup->t_data;
1166-
TransactionId curxid = GetCurrentTransactionId();
1167-
if (TransactionIdIsNormal(curxid)) {
1168-
fprintf(stderr, "pid=%d Transaction %d, [%d,%d) visibility check for tuple {%d,%d) = %d\n",
1169-
getpid(), curxid, snapshot->xmin, snapshot->xmax, HeapTupleHeaderGetRawXmin(tuple), HeapTupleHeaderGetRawXmax(tuple), result);
1170-
}
1165+
// HeapTupleHeader tuple = htup->t_data;
1166+
// TransactionId curxid = GetCurrentTransactionId();
1167+
// if (TransactionIdIsNormal(curxid)) {
1168+
// fprintf(stderr, "pid=%d Transaction %d, [%d,%d) visibility check for tuple {%d,%d) = %d\n",
1169+
// getpid(), curxid, snapshot->xmin, snapshot->xmax, HeapTupleHeaderGetRawXmin(tuple), HeapTupleHeaderGetRawXmax(tuple), result);
1170+
// }
11711171
return result;
11721172
}
11731173
#endif

0 commit comments

Comments
 (0)