mirror of
https://github.com/postgres/postgres.git
synced 2026-02-24 10:25:42 -05:00
pg_upgrade: report failed cluster name
When pg_upgrade can't find required pg_controldata information, report _which_ cluster is failing, with this message: The %s cluster lacks some required control information:
This commit is contained in:
parent
168d315703
commit
bd6aca8a77
1 changed files with 2 additions and 1 deletions
|
|
@ -477,7 +477,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
|
|||
!got_date_is_int || !got_float8_pass_by_value)
|
||||
{
|
||||
pg_log(PG_REPORT,
|
||||
"Some required control information is missing; cannot find:\n");
|
||||
"The %s cluster lacks some required control information:\n",
|
||||
CLUSTER_NAME(cluster));
|
||||
|
||||
if (!got_xid)
|
||||
pg_log(PG_REPORT, " checkpoint next XID\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue