Обсуждение: pgsql: Fix error message on short read of pg_control

Поиск
Список
Период
Сортировка

pgsql: Fix error message on short read of pg_control

От
Magnus Hagander
Дата:
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.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/29ce50091d128faaabd0a4044e91a7d0da11bb8e

Modified Files
--------------
src/backend/access/transam/xlog.c | 16 ++++++++++++----
src/common/controldata_utils.c    | 35 ++++++++++++++++++++++++++---------
2 files changed, 38 insertions(+), 13 deletions(-)