projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af67b6
)
Revoke incorrectly applied patch version
author
Simon Riggs
Sat, 27 Jun 2015 01:21:03 +0000
(
02:21
+0100)
committer
Simon Riggs
Sat, 27 Jun 2015 01:21:03 +0000
(
02:21
+0100)
src/backend/access/heap/heapam.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/heapam.c
b/src/backend/access/heap/heapam.c
index 7ce48ea191f72f1da39494668864787e9eac6c39..2e3b9d2c2b78a6f354f529408c1ebaeebdab88f5 100644
(file)
--- a/
src/backend/access/heap/heapam.c
+++ b/
src/backend/access/heap/heapam.c
@@
-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))