pgsql: Exit correctly from PrepareRedoRemove() when not found

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Exit correctly from PrepareRedoRemove() when not found
Date: 2017-04-18 10:52:37
Message-ID: E1d0QkP-0004Ks-TZ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Exit correctly from PrepareRedoRemove() when not found

Complex crash bug all started with this failure.
Diagnosed and fixed by Nikhil Sontakke, reviewed by me.

Reported-by: Jeff Janes
Author: Nikhil Sontakke
Discussion: https://postgr.es/m/CAMkU=1xBP8cqdS5eK8APHL=X6RHMMM2vG5g+QamduuTsyCwv9g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ee01f7092fb6430ad9bb9bb1f42f19d22bcb9329

Modified Files
--------------
src/backend/access/transam/twophase.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2017-04-18 10:58:30 pgsql: Fix minor typo in comment
Previous Message Simon Riggs 2017-04-18 10:31:51 pgsql: Dont push nextid too far forwards in recovery