Report any XLogReadRecord() error in XlogReadTwoPhaseData().

Noah Misch <noah@leadboat.com>

Commit: cae393f0f9fc036241931744b4b812632529fdf1
Author: Noah Misch <noah@leadboat.com>
Date: 2021-11-12T01:11:17Z
Releases: 11.15
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