From 26e1c312d3681a993e04aed1cc0979b6d1312683 Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Fri, 25 Sep 2009 19:23:14 +0100 Subject: [PATCH] Corrected logic in XidInMVCCSnapshot() --- src/backend/utils/time/tqual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c index faeed7c0a3..5bf79293fa 100644 --- a/src/backend/utils/time/tqual.c +++ b/src/backend/utils/time/tqual.c @@ -1259,7 +1259,7 @@ XidInMVCCSnapshot(TransactionId xid, Snapshot snapshot) /* * Data lives in different places depending upon when snapshot taken */ - if (snapshot->takenDuringRecovery) + if (!snapshot->takenDuringRecovery) { /* * If the snapshot contains full subxact data, the fastest way to check -- 2.39.5