]> granicus.if.org Git - postgresql/commit
Avoid hot standby cancels from VAC FREEZE
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 26 Jun 2015 23:41:47 +0000 (00:41 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 26 Jun 2015 23:41:47 +0000 (00:41 +0100)
commit66fbcb0d2e1b201477dd2977b6eb93b1cfd9dd6c
treed815f513e33b487cac25fabda02d1fdf0867006f
parent7d60b2af34842ae89b1abdd31fb5d303bd43c514
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