pgsql: Avoid hot standby cancels from VAC FREEZE

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid hot standby cancels from VAC FREEZE
Date: 2015-06-26 23:51:03
Message-ID: E1Z8dOh-0006dt-1w@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e1ca691f6b81bda44d2971e090804f0b94834711

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2015-06-27 01:14:55 Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file
Previous Message Simon Riggs 2015-06-26 23:50:52 pgsql: Avoid hot standby cancels from VAC FREEZE