Avoid hot standby cancels from VAC FREEZE
authorSimon Riggs
Fri, 26 Jun 2015 23:46:58 +0000 (00:46 +0100)
committerSimon Riggs
Fri, 26 Jun 2015 23:46:58 +0000 (00:46 +0100)
commit892a0e4e4559fc200d4803db24f4babca37fe76d
tree08df91c1218c547138fb4d0240eab7fe21fbabb6
parentd66b67fe21e11d8f1c7ac7d8445f8468fbc9222f
Avoid hot standby cancels from VAC FREEZE

VACUUM FREEZE generated false cancelations of standby queries on an
otherwise idle master. Caused by an off-by-one error on cutoff_xid
which goes back to original commit.

Backpatch to all versions 9.0+

Analysis and report by Marco Nenciarini

Bug fix by Simon Riggs
src/backend/access/heap/heapam.c