aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/pg_rewind.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-10-01 21:42:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2015-10-01 21:52:46 -0400
commit0f51a848ab98325e497a227155648facd9d0cf9b (patch)
tree864d405b5691547698957bf02e0ac31add8fb4d3 /src/bin/pg_rewind/pg_rewind.c
parent867bc6849f141e17cd4d3b416f48cc46839f2d76 (diff)
downloadpostgresql-0f51a848ab98325e497a227155648facd9d0cf9b.tar.gz
postgresql-0f51a848ab98325e497a227155648facd9d0cf9b.zip
pg_rewind: Improve some messages
The output of a typical pg_rewind run contained a mix of capitalized and not-capitalized and punctuated and not-punctuated phrases for no apparent reason. Make that consistent. Also fix some problems in other messages.
Diffstat (limited to 'src/bin/pg_rewind/pg_rewind.c')
-rw-r--r--src/bin/pg_rewind/pg_rewind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_rewind/pg_rewind.c b/src/bin/pg_rewind/pg_rewind.c
index 4b7e26aac18..a2d9ca36aa1 100644
--- a/src/bin/pg_rewind/pg_rewind.c
+++ b/src/bin/pg_rewind/pg_rewind.c
@@ -215,7 +215,7 @@ main(int argc, char **argv)
pg_fatal("source and target cluster are on the same timeline\n");
findCommonAncestorTimeline(&divergerec, &lastcommontli);
- printf(_("The servers diverged at WAL position %X/%X on timeline %u.\n"),
+ printf(_("servers diverged at WAL position %X/%X on timeline %u\n"),
(uint32) (divergerec >> 32), (uint32) divergerec, lastcommontli);
/*
@@ -250,13 +250,13 @@ main(int argc, char **argv)
if (!rewind_needed)
{
- printf(_("No rewind required.\n"));
+ printf(_("no rewind required\n"));
exit(0);
}
findLastCheckpoint(datadir_target, divergerec, lastcommontli,
&chkptrec, &chkpttli, &chkptredo);
- printf(_("Rewinding from last common checkpoint at %X/%X on timeline %u\n"),
+ printf(_("rewinding from last common checkpoint at %X/%X on timeline %u\n"),
(uint32) (chkptrec >> 32), (uint32) chkptrec,
chkpttli);