Skip to content

Commit 09ae329

Browse files
committed
Message style improvements
1 parent 521d08a commit 09ae329

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/bin/pg_dump/pg_dump.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ help(const char *progname)
10701070
printf(_(" --no-subscriptions do not dump subscriptions\n"));
10711071
printf(_(" --no-synchronized-snapshots do not use synchronized snapshots in parallel jobs\n"));
10721072
printf(_(" --no-tablespaces do not dump tablespace assignments\n"));
1073-
printf(_(" --no-toast-compression do not dump toast compression methods\n"));
1073+
printf(_(" --no-toast-compression do not dump TOAST compression methods\n"));
10741074
printf(_(" --no-unlogged-table-data do not dump unlogged table data\n"));
10751075
printf(_(" --on-conflict-do-nothing add ON CONFLICT DO NOTHING to INSERT commands\n"));
10761076
printf(_(" --quote-all-identifiers quote all identifiers, even if not key words\n"));
@@ -16758,7 +16758,7 @@ dumpIndex(Archive *fout, const IndxInfo *indxinfo)
1675816758
if (!parsePGArray(indstatvals, &indstatvalsarray, &nstatvals))
1675916759
fatal("could not parse index statistic values");
1676016760
if (nstatcols != nstatvals)
16761-
fatal("mismatched number of columns and values for index stats");
16761+
fatal("mismatched number of columns and values for index statistics");
1676216762

1676316763
for (j = 0; j < nstatcols; j++)
1676416764
{

src/bin/pg_rewind/pg_rewind.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ perform_rewind(filemap_t *filemap, rewind_source *source,
561561
break;
562562

563563
case FILE_ACTION_UNDECIDED:
564-
pg_fatal("no action decided for \"%s\"", entry->path);
564+
pg_fatal("no action decided for file \"%s\"", entry->path);
565565
break;
566566
}
567567
}

src/interfaces/ecpg/preproc/ecpg.trailer

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ ECPGDeclareStmt: DECLARE prepared_name STATEMENT
302302
if (strcmp($2, ptr->name) == 0)
303303
{
304304
/* re-definition is not allowed */
305-
mmerror(PARSE_ERROR, ET_ERROR, "declared name %s is already defined", ptr->name);
305+
mmerror(PARSE_ERROR, ET_ERROR, "name \"%s\" is already declared", ptr->name);
306306
}
307307
}
308308

0 commit comments

Comments
 (0)