Fix rare missing cancellations in Hot Standby.

Simon Riggs <simon@2ndQuadrant.com>

Commit: 62b9e3a0ff2d9964e30635ceca825340e71087e1
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2013-01-24T14:24:48Z
Releases: 9.1.8
Fix rare missing cancellations in Hot Standby.
The machinery around XLOG_HEAP2_CLEANUP_INFO failed
to correctly pass through the necessary information
on latestRemovedXid, avoiding cancellations in some
infrequent concurrent update/cleanup scenarios.

Backpatchable fix to 9.0

Detailed bug report and fix by Noah Misch,
backpatchable version by me.

Files

PathChange+/−
src/backend/access/heap/pruneheap.c modified +1 −1