Fix error message on short read of pg_control

Magnus Hagander <magnus@hagander.net>

Commit: 29ce50091d128faaabd0a4044e91a7d0da11bb8e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2018-05-18T15:53:12Z
Releases: 10.5
Fix error message on short read of pg_control

Instead of saying "error: success", indicate that we got a working read
but it was too short.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +12 −4
src/common/controldata_utils.c modified +26 −9