Report expected contrecord length on mismatch

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: f43e295f68c3e04ef891627f62016a5b3d8ed4a8
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2020-09-04T18:58:32Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/access/transam/xlogreader.c modified +2 −1

Discussion