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