File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 37
37
*
38
38
*
39
39
* IDENTIFICATION
40
- * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.60 2010/02/26 02:01:00 momjian Exp $
40
+ * $PostgreSQL: pgsql/src/backend/storage/ipc/procarray.c,v 1.61 2010/03/11 09:26:59 heikki Exp $
41
41
*
42
42
*-------------------------------------------------------------------------
43
43
*/
@@ -448,6 +448,7 @@ ProcArrayApplyRecoveryInfo(RunningTransactions running)
448
448
/*
449
449
* Remove stale transactions, if any.
450
450
*/
451
+ Assert (TransactionIdIsValid (running -> oldestRunningXid ));
451
452
ExpireOldKnownAssignedTransactionIds (running -> oldestRunningXid );
452
453
StandbyReleaseOldLocks (running -> oldestRunningXid );
453
454
@@ -2518,7 +2519,7 @@ KnownAssignedXidsRemoveMany(TransactionId xid, bool keepPreparedXacts)
2518
2519
2519
2520
if (!TransactionIdIsValid (xid ) || TransactionIdPrecedes (removeXid , xid ))
2520
2521
{
2521
- if (keepPreparedXacts && StandbyTransactionIdIsPrepared (xid ))
2522
+ if (keepPreparedXacts && StandbyTransactionIdIsPrepared (removeXid ))
2522
2523
continue ;
2523
2524
else
2524
2525
{
You can’t perform that action at this time.
0 commit comments