Skip to content

Commit 60b35b7

Browse files
committed
pg_upgrade: adjust error paragraph width to be consistent
Previously these error paragraphs were too wide. Backpatch-through: 13
1 parent f0b57ae commit 60b35b7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/bin/pg_upgrade/check.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -963,8 +963,8 @@ check_for_tables_with_oids(ClusterInfo *cluster)
963963
if (found)
964964
{
965965
pg_log(PG_REPORT, "fatal\n");
966-
pg_fatal("Your installation contains tables declared WITH OIDS, which is not supported\n"
967-
"anymore. Consider removing the oid column using\n"
966+
pg_fatal("Your installation contains tables declared WITH OIDS, which is not\n"
967+
"supported anymore. Consider removing the oid column using\n"
968968
" ALTER TABLE ... SET WITHOUT OIDS;\n"
969969
"A list of tables with the problem is in the file:\n"
970970
" %s\n\n", output_path);
@@ -1076,8 +1076,8 @@ check_for_reg_data_type_usage(ClusterInfo *cluster)
10761076
pg_fatal("Your installation contains one of the reg* data types in user tables.\n"
10771077
"These data types reference system OIDs that are not preserved by\n"
10781078
"pg_upgrade, so this cluster cannot currently be upgraded. You can\n"
1079-
"remove the problem tables and restart the upgrade. A list of the problem\n"
1080-
"columns is in the file:\n"
1079+
"remove the problem tables and restart the upgrade. A list of the\n"
1080+
"problem columns is in the file:\n"
10811081
" %s\n\n", output_path);
10821082
}
10831083
else
@@ -1165,9 +1165,10 @@ check_for_jsonb_9_4_usage(ClusterInfo *cluster)
11651165
{
11661166
pg_log(PG_REPORT, "fatal\n");
11671167
pg_fatal("Your installation contains the \"jsonb\" data type in user tables.\n"
1168-
"The internal format of \"jsonb\" changed during 9.4 beta so this cluster cannot currently\n"
1169-
"be upgraded. You can remove the problem tables and restart the upgrade. A list\n"
1170-
"of the problem columns is in the file:\n"
1168+
"The internal format of \"jsonb\" changed during 9.4 beta so this\n"
1169+
"cluster cannot currently be upgraded. You can remove the problem\n"
1170+
"tables and restart the upgrade. A list of the problem columns is\n"
1171+
"in the file:\n"
11711172
" %s\n\n", output_path);
11721173
}
11731174
else

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