pgsql: pg_upgrade: include additional detail in cluster check

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: include additional detail in cluster check
Date: 2023-07-20 13:10:01
Message-ID: E1qMTPs-000RpX-DR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-20 15:10:21 pgsql: Add notBefore and notAfter to SSL cert info display
Previous Message Amit Langote 2023-07-20 08:16:29 pgsql: Unify JSON categorize type API and export for external use