]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Avoid hot standby cancels from VAC FREEZE
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 25 May 2016 23:39:49 +0000 (19:39 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 25 May 2016 23:39:49 +0000 (19:39 -0400)
commitde887cc8afd2f7a7761108bfe001c3d451811b7a
treeeecaca2c48f4184ae4985c4a68f8c6018f1e1781
parent5551dac59c0601b49d57a3f897fb0a6d581e58ac
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.

Analysis and report by Marco Nenciarini

Bug fix by Simon Riggs

This is a correct backpatch of commit 66fbcb0d2e to branches 9.1 through
9.4.  That commit was backpatched to 9.0 originally, but it was
immediately reverted in 9.0-9.4 because it didn't compile.
src/backend/access/heap/heapam.c