Report any XLogReadRecord() error in XlogReadTwoPhaseData().

Noah Misch <noah@leadboat.com>

Commit: 2f60fd647d8103b838530cbe9587956c96553ff7
Author: Noah Misch <noah@leadboat.com>
Date: 2021-11-12T01:11:19Z
Releases: 10.20
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