Avoid hot standby cancels from VAC FREEZE
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 26 Jun 2015 23:44:56 +0000 (00:44 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 26 Jun 2015 23:44:56 +0000 (00:44 +0100)
commit9af67b667cca10b3f458548c90a75e4e45ced2b3
tree976b9bac14fc15e1f24a99e75f5c1a2d601c1f85
parentb6c4b58ac52aa9046c45bd8c2c9fc8925087c8d3
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