@@ -62,13 +62,15 @@ output_check_banner(bool live_check)
6262{
6363 if (user_opts .check && live_check )
6464 {
65- pg_log (PG_REPORT , "Performing Consistency Checks on Old Live Server\n" );
66- pg_log (PG_REPORT , "------------------------------------------------\n" );
65+ pg_log (PG_REPORT ,
66+ "Performing Consistency Checks on Old Live Server\n"
67+ "------------------------------------------------\n" );
6768 }
6869 else
6970 {
70- pg_log (PG_REPORT , "Performing Consistency Checks\n" );
71- pg_log (PG_REPORT , "-----------------------------\n" );
71+ pg_log (PG_REPORT ,
72+ "Performing Consistency Checks\n"
73+ "-----------------------------\n" );
7274 }
7375}
7476
@@ -991,7 +993,7 @@ check_for_jsonb_9_4_usage(ClusterInfo *cluster)
991993 bool found = false;
992994 char output_path [MAXPGPATH ];
993995
994- prep_status ("Checking for JSONB user data types " );
996+ prep_status ("Checking for incompatible jsonb data type " );
995997
996998 snprintf (output_path , sizeof (output_path ), "tables_using_jsonb.txt" );
997999
@@ -1022,7 +1024,7 @@ check_for_jsonb_9_4_usage(ClusterInfo *cluster)
10221024 " a.atttypid = 'pg_catalog.jsonb'::pg_catalog.regtype AND "
10231025 " c.relnamespace = n.oid AND "
10241026 /* exclude possible orphaned temp tables */
1025- " n.nspname !~ '^pg_temp_' AND "
1027+ " n.nspname !~ '^pg_temp_' AND "
10261028 " n.nspname NOT IN ('pg_catalog', 'information_schema')" );
10271029
10281030 ntups = PQntuples (res );
@@ -1057,8 +1059,8 @@ check_for_jsonb_9_4_usage(ClusterInfo *cluster)
10571059 if (found )
10581060 {
10591061 pg_log (PG_REPORT , "fatal\n" );
1060- pg_fatal ("Your installation contains one of the JSONB data types in user tables.\n"
1061- "The internal format of JSONB changed during 9.4 beta so this cluster cannot currently\n"
1062+ pg_fatal ("Your installation contains the \"jsonb\" data type in user tables.\n"
1063+ "The internal format of \"jsonb\" changed during 9.4 beta so this cluster cannot currently\n"
10621064 "be upgraded. You can remove the problem tables and restart the upgrade. A list\n"
10631065 "of the problem columns is in the file:\n"
10641066 " %s\n\n" , output_path );
@@ -1078,7 +1080,7 @@ check_for_pg_role_prefix(ClusterInfo *cluster)
10781080 PGresult * res ;
10791081 PGconn * conn = connectToServer (cluster , "template1" );
10801082
1081- prep_status ("Checking for roles starting with ' pg_' " );
1083+ prep_status ("Checking for roles starting with \" pg_\" " );
10821084
10831085 res = executeQueryOrDie (conn ,
10841086 "SELECT * "
@@ -1088,9 +1090,9 @@ check_for_pg_role_prefix(ClusterInfo *cluster)
10881090 if (PQntuples (res ) != 0 )
10891091 {
10901092 if (cluster == & old_cluster )
1091- pg_fatal ("The source cluster contains roles starting with ' pg_' \n" );
1093+ pg_fatal ("The source cluster contains roles starting with \" pg_\" \n" );
10921094 else
1093- pg_fatal ("The target cluster contains roles starting with ' pg_' \n" );
1095+ pg_fatal ("The target cluster contains roles starting with \" pg_\" \n" );
10941096 }
10951097
10961098 PQclear (res );
0 commit comments