Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd6aca8

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 parent168d315 commitbd6aca8

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)

[8]ページ先頭

©2009-2025 Movatter.jp