Skip to content

Commit 51b95fb

Browse files
committed
pg_amcheck: Message style improvements
1 parent 2c91590 commit 51b95fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/bin/pg_amcheck/pg_amcheck.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ main(int argc, char *argv[])
759759
{
760760
if (opts.show_progress && progress_since_last_stderr)
761761
fprintf(stderr, "\n");
762-
pg_log_info("checking heap table \"%s\".\"%s\".\"%s\"",
762+
pg_log_info("checking heap table \"%s.%s.%s\"",
763763
rel->datinfo->datname, rel->nspname, rel->relname);
764764
progress_since_last_stderr = false;
765765
}
@@ -775,7 +775,7 @@ main(int argc, char *argv[])
775775
if (opts.show_progress && progress_since_last_stderr)
776776
fprintf(stderr, "\n");
777777

778-
pg_log_info("checking btree index \"%s\".\"%s\".\"%s\"",
778+
pg_log_info("checking btree index \"%s.%s.%s\"",
779779
rel->datinfo->datname, rel->nspname, rel->relname);
780780
progress_since_last_stderr = false;
781781
}
@@ -1110,7 +1110,7 @@ verify_btree_slot_handler(PGresult *res, PGconn *conn, void *context)
11101110
*/
11111111
if (opts.show_progress && progress_since_last_stderr)
11121112
fprintf(stderr, "\n");
1113-
pg_log_warning("btree index \"%s\".\"%s\".\"%s\": btree checking function returned unexpected number of rows: %d",
1113+
pg_log_warning("btree index \"%s.%s.%s\": btree checking function returned unexpected number of rows: %d",
11141114
rel->datinfo->datname, rel->nspname, rel->relname, ntups);
11151115
if (opts.verbose)
11161116
pg_log_info("query was: %s", rel->sql);
@@ -1173,7 +1173,7 @@ help(const char *progname)
11731173
printf(_(" --startblock=BLOCK begin checking table(s) at the given block number\n"));
11741174
printf(_(" --endblock=BLOCK check table(s) only up to the given block number\n"));
11751175
printf(_("\nB-tree index checking options:\n"));
1176-
printf(_(" --heapallindexed check all heap tuples are found within indexes\n"));
1176+
printf(_(" --heapallindexed check that all heap tuples are found within indexes\n"));
11771177
printf(_(" --parent-check check index parent/child relationships\n"));
11781178
printf(_(" --rootdescend search from root page to refind tuples\n"));
11791179
printf(_("\nConnection options:\n"));
@@ -1252,7 +1252,7 @@ progress_report(uint64 relations_total, uint64 relations_checked,
12521252
* last call)
12531253
*/
12541254
fprintf(stderr,
1255-
_("%*s/%s relations (%d%%) %*s/%s pages (%d%%) %*s"),
1255+
_("%*s/%s relations (%d%%), %*s/%s pages (%d%%) %*s"),
12561256
(int) strlen(total_rel),
12571257
checked_rel, total_rel, percent_rel,
12581258
(int) strlen(total_pages),
@@ -1263,7 +1263,7 @@ progress_report(uint64 relations_total, uint64 relations_checked,
12631263
bool truncate = (strlen(datname) > VERBOSE_DATNAME_LENGTH);
12641264

12651265
fprintf(stderr,
1266-
_("%*s/%s relations (%d%%) %*s/%s pages (%d%%), (%s%-*.*s)"),
1266+
_("%*s/%s relations (%d%%), %*s/%s pages (%d%%) (%s%-*.*s)"),
12671267
(int) strlen(total_rel),
12681268
checked_rel, total_rel, percent_rel,
12691269
(int) strlen(total_pages),
@@ -1278,7 +1278,7 @@ progress_report(uint64 relations_total, uint64 relations_checked,
12781278
}
12791279
else
12801280
fprintf(stderr,
1281-
_("%*s/%s relations (%d%%) %*s/%s pages (%d%%)"),
1281+
_("%*s/%s relations (%d%%), %*s/%s pages (%d%%)"),
12821282
(int) strlen(total_rel),
12831283
checked_rel, total_rel, percent_rel,
12841284
(int) strlen(total_pages),

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