pgsql: Report expected contrecord length on mismatch - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Report expected contrecord length on mismatch
Date
Msg-id E1kEGwD-0002AV-Af@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Report expected contrecord length on mismatch

When reading a WAL record fails to find continuation record(s) of the
proper length, report what it expects, for clarity.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20200903212152.GA15319@alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove some more useless assignments.
Next
From: Jeff Davis
Date:
Subject: pgsql: Fix bogus MaxAllocSize check in logtape.c.