File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ Snapshot MtmGetSnapshot(Snapshot snapshot)
606
606
607
607
TransactionId MtmGetOldestXmin (Relation rel , bool ignoreVacuum )
608
608
{
609
- TransactionId xmin = PgGetOldestXmin (NULL , false ); /* consider all backends */
609
+ TransactionId xmin = PgGetOldestXmin (rel , ignoreVacuum ); /* consider all backends */
610
610
if (TransactionIdIsValid (xmin )) {
611
611
MtmLock (LW_EXCLUSIVE );
612
612
xmin = MtmAdjustOldestXid (xmin );
@@ -971,7 +971,7 @@ static void
971
971
MtmBeginTransaction (MtmCurrentTrans * x )
972
972
{
973
973
if (x -> snapshot == INVALID_CSN ) {
974
- TransactionId xmin = (Mtm -> gcCount >= MtmGcPeriod ) ? PgGetOldestXminNoslot (NULL , false ) : InvalidTransactionId ; /* Get oldest xmin outside critical section */
974
+ TransactionId xmin = (Mtm -> gcCount >= MtmGcPeriod ) ? PgGetOldestXminNoslot (NULL , true ) : InvalidTransactionId ; /* Get oldest xmin outside critical section */
975
975
976
976
Assert (!x -> isActive );
977
977
MtmLock (LW_EXCLUSIVE );
You can’t perform that action at this time.
0 commit comments