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