pgsql: Revert bogus fixes of HOT-freezing bug

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revert bogus fixes of HOT-freezing bug
Date: 2017-11-02 14:52:11
Message-ID: E1eAGqp-00063a-E0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revert bogus fixes of HOT-freezing bug

It turns out we misdiagnosed what the real problem was. Revert the
previous changes, because they may have worse consequences going
forward. A better fix is forthcoming.

The simplistic test case is kept, though disabled.

Discussion: https://postgr.es/m/20171102112019.33wb7g5wp4zpjelu@alap3.anarazel.de

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7a95966bc03cd8af08825de235ea896d682d62bb

Modified Files
--------------
src/backend/access/heap/heapam.c | 109 +++++++---------------------------
src/backend/access/heap/pruneheap.c | 4 +-
src/backend/commands/vacuumlazy.c | 20 +++----
src/backend/executor/execMain.c | 6 +-
src/include/access/heapam.h | 3 -
src/test/isolation/isolation_schedule | 1 -
6 files changed, 38 insertions(+), 105 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-11-02 14:55:25 Re: [HACKERS] pgsql: Fix freezing of a dead HOT-updated tuple
Previous Message Stephen Frost 2017-11-02 14:12:23 Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple