Fix rare missing cancellations in Hot Standby.
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 24 Jan 2013 14:24:48 +0000 (14:24 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 24 Jan 2013 14:24:48 +0000 (14:24 +0000)
commit62b9e3a0ff2d9964e30635ceca825340e71087e1
tree8e56bab80f98429d9483adeffcfc576ac9f50865
parent5454344b968d6a189219cfd49af609a3e7d6af33
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.
src/backend/access/heap/pruneheap.c