Report any XLogReadRecord() error in XlogReadTwoPhaseData().

Noah Misch <noah@leadboat.com>

Commit: 335474691054a74d771f0e7c24d25e800e3a37b6
Author: Noah Misch <noah@leadboat.com>
Date: 2021-11-12T01:10:18Z
Releases: 15.0
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 +12 −4

Discussion