A pretty minor issue: when reporting that WAL appears invalid becausecontrecord length doesn't match, we may as well print to the server logthe value that we're expecting. Patch attached.
-- Álvaro Herrera http://www.flickr.com/photos/alvherre/