report expected contrecord size

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-09-03T21:21:52Z
Lists: pgsql-hackers

Attachments

A pretty minor issue: when reporting that WAL appears invalid because
contrecord length doesn't match, we may as well print to the server log
the value that we're expecting.  Patch attached.

-- 
Álvaro Herrera                         http://www.flickr.com/photos/alvherre/

Commits

  1. Report expected contrecord length on mismatch