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

Commit600250d

Browse files
committed
Improve pg_upgrade error report
If the cluster alignments don't match, output this suggestion:Likely one cluster is a 32-bit install, the other 64-bit
1 parent8c17144 commit600250d

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
@@ -502,7 +502,8 @@ check_control_data(ControlData *oldctrl,
502502
{
503503
if (oldctrl->align==0||oldctrl->align!=newctrl->align)
504504
pg_log(PG_FATAL,
505-
"old and new pg_controldata alignments are invalid or do not match\n");
505+
"old and new pg_controldata alignments are invalid or do not match\n"
506+
"Likely one cluster is a 32-bit install, the other 64-bit\n");
506507

507508
if (oldctrl->blocksz==0||oldctrl->blocksz!=newctrl->blocksz)
508509
pg_log(PG_FATAL,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp