Report any XLogReadRecord() error in XlogReadTwoPhaseData().

Noah Misch <noah@leadboat.com>

Commit: d4e9d6946995cceaed97ee4570c4c867b3ea2104
Author: Noah Misch <noah@leadboat.com>
Date: 2021-11-12T01:11:01Z
Releases: 13.6
Report any XLogReadRecord() error in XlogReadTwoPhaseData().

Buildfarm members kittiwake and tadarida have witnessed errors at this
site.  The site discarded key facts.  Back-patch to v10 (all supported
versions).

Reviewed by Michael Paquier and Tom Lane.

Discussion: https://postgr.es/m/20211107013157.GB790288@rfd.leadboat.com

Files

PathChange+/−
src/backend/access/transam/twophase.c modified +15 −5

Discussion