]> granicus.if.org Git - postgresql/commit
Fix error message on short read of pg_control
authorMagnus Hagander <magnus@hagander.net>
Fri, 18 May 2018 15:53:15 +0000 (17:53 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 18 May 2018 15:53:15 +0000 (17:53 +0200)
commit830e8e3609d003e320b963a7fa7c1432e10d8766
tree2e4cb80a0de16744535f789aead8385e9eac1712
parent4a9b44d3c075fe73661d0407faf6f048075a00f9
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.
src/backend/access/transam/xlog.c
src/common/controldata_utils.c