Обсуждение: pgsql: pg_upgrade: include additional detail in cluster check

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

pgsql: pg_upgrade: include additional detail in cluster check

От
Daniel Gustafsson
Дата:
pg_upgrade: include additional detail in cluster check

When the cluster failed the pg_controldata check for clean shut
down we only reported that it did so, not why. The state of the
cluster can be important information when diagnosing the failed
upgrade attempt, so instead include it in the error message.

Discussion: https://postgr.es/m/E0D5EA16-A085-4753-8DDC-C7055048B439@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a3f695e645d0363d845a828db45deac5af1b4c0e

Modified Files
--------------
src/bin/pg_upgrade/controldata.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)