pgsql: Report any XLogReadRecord() error in XlogReadTwoPhaseData().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Report any XLogReadRecord() error in XlogReadTwoPhaseData().
Date: 2021-11-12 01:17:17
Message-ID: E1mlLBt-0002z2-VX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

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

Modified Files
--------------
src/backend/access/transam/twophase.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-11-12 12:51:36 pgsql: Fix memory overrun when querying pg_stat_slru
Previous Message Peter Geoghegan 2021-11-11 21:43:27 pgsql: Update heap_page_prune() free space map comments.