Thread: pgsql: Avoid hot standby cancels from VAC FREEZE

pgsql: Avoid hot standby cancels from VAC FREEZE

From
Simon Riggs
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/66fbcb0d2e1b201477dd2977b6eb93b1cfd9dd6c

Modified Files
--------------
src/backend/access/heap/heapam.c |    5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)