]> granicus.if.org Git - postgresql/commitdiff
Revoke incorrectly applied patch version
authorSimon Riggs <simon@2ndQuadrant.com>
Sat, 27 Jun 2015 01:21:03 +0000 (02:21 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Sat, 27 Jun 2015 01:21:03 +0000 (02:21 +0100)
src/backend/access/heap/heapam.c

index 7ce48ea191f72f1da39494668864787e9eac6c39..2e3b9d2c2b78a6f354f529408c1ebaeebdab88f5 100644 (file)
@@ -7517,13 +7517,7 @@ heap_xlog_freeze_page(XLogRecPtr lsn, XLogRecord *record)
         * consider the frozen xids as running.
         */
        if (InHotStandby)
-       {
-               TransactionId latestRemovedXid = cutoff_xid;
-
-               TransactionIdRetreat(latestRemovedXid);
-
-               ResolveRecoveryConflictWithSnapshot(latestRemovedXid, rnode);
-       }
+               ResolveRecoveryConflictWithSnapshot(cutoff_xid, xlrec->node);
 
        /* If we have a full-page image, restore it and we're done */
        if (record->xl_info & XLR_BKP_BLOCK(0))