|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.283 2010/01/20 19:43:40 heikki Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.284 2010/01/29 17:10:05 sriggs Exp $ |
12 | 12 | *
|
13 | 13 | *
|
14 | 14 | * INTERFACE ROUTINES
|
@@ -4139,7 +4139,7 @@ heap_xlog_cleanup_info(XLogRecPtr lsn, XLogRecord *record)
|
4139 | 4139 | xl_heap_cleanup_info *xlrec = (xl_heap_cleanup_info *) XLogRecGetData(record);
|
4140 | 4140 |
|
4141 | 4141 | if (InHotStandby)
|
4142 |
| - ResolveRecoveryConflictWithSnapshot(xlrec->latestRemovedXid); |
| 4142 | + ResolveRecoveryConflictWithSnapshot(xlrec->latestRemovedXid, xlrec->node); |
4143 | 4143 |
|
4144 | 4144 | /*
|
4145 | 4145 | * Actual operation is a no-op. Record type exists to provide a means
|
@@ -4171,7 +4171,7 @@ heap_xlog_clean(XLogRecPtr lsn, XLogRecord *record, bool clean_move)
|
4171 | 4171 | * no queries running for which the removed tuples are still visible.
|
4172 | 4172 | */
|
4173 | 4173 | if (InHotStandby)
|
4174 |
| - ResolveRecoveryConflictWithSnapshot(xlrec->latestRemovedXid); |
| 4174 | + ResolveRecoveryConflictWithSnapshot(xlrec->latestRemovedXid, xlrec->node); |
4175 | 4175 |
|
4176 | 4176 | RestoreBkpBlocks(lsn, record, true);
|
4177 | 4177 |
|
@@ -4241,7 +4241,7 @@ heap_xlog_freeze(XLogRecPtr lsn, XLogRecord *record)
|
4241 | 4241 | * consider the frozen xids as running.
|
4242 | 4242 | */
|
4243 | 4243 | if (InHotStandby)
|
4244 |
| - ResolveRecoveryConflictWithSnapshot(cutoff_xid); |
| 4244 | + ResolveRecoveryConflictWithSnapshot(cutoff_xid, xlrec->node); |
4245 | 4245 |
|
4246 | 4246 | RestoreBkpBlocks(lsn, record, false);
|
4247 | 4247 |
|
|
0 commit comments