Skip to content

Commit bd6aca8

Browse files
committed
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:
1 parent 168d315 commit bd6aca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/pg_upgrade/controldata.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
477477
!got_date_is_int || !got_float8_pass_by_value)
478478
{
479479
pg_log(PG_REPORT,
480-
"Some required control information is missing; cannot find:\n");
480+
"The %s cluster lacks some required control information:\n",
481+
CLUSTER_NAME(cluster));
481482

482483
if (!got_xid)
483484
pg_log(PG_REPORT, " checkpoint next XID\n");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy