Commit 6925e38d authored by Peter Eisentraut's avatar Peter Eisentraut

pg_basebackup: Small message punctuation improvements

parent 9ac749ce
...@@ -1136,7 +1136,7 @@ BaseBackup(void) ...@@ -1136,7 +1136,7 @@ BaseBackup(void)
if (verbose) if (verbose)
fprintf(stderr, fprintf(stderr,
_("%s: waiting for background process to finish streaming...\n"), progname); _("%s: waiting for background process to finish streaming ...\n"), progname);
#ifndef WIN32 #ifndef WIN32
if (write(bgpipe[1], xlogend, strlen(xlogend)) != strlen(xlogend)) if (write(bgpipe[1], xlogend, strlen(xlogend)) != strlen(xlogend))
...@@ -1443,7 +1443,7 @@ main(int argc, char **argv) ...@@ -1443,7 +1443,7 @@ main(int argc, char **argv)
if (format != 'p' && streamwal) if (format != 'p' && streamwal)
{ {
fprintf(stderr, fprintf(stderr,
_("%s: wal streaming can only be used in plain mode\n"), _("%s: WAL streaming can only be used in plain mode\n"),
progname); progname);
fprintf(stderr, _("Try \"%s --help\" for more information.\n"), fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
progname); progname);
......
...@@ -80,7 +80,7 @@ stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished) ...@@ -80,7 +80,7 @@ stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished)
if (time_to_abort) if (time_to_abort)
{ {
fprintf(stderr, _("%s: received interrupt signal, exiting.\n"), fprintf(stderr, _("%s: received interrupt signal, exiting\n"),
progname); progname);
return true; return true;
} }
...@@ -427,14 +427,14 @@ main(int argc, char **argv) ...@@ -427,14 +427,14 @@ main(int argc, char **argv)
} }
else if (noloop) else if (noloop)
{ {
fprintf(stderr, _("%s: disconnected.\n"), progname); fprintf(stderr, _("%s: disconnected\n"), progname);
exit(1); exit(1);
} }
else else
{ {
fprintf(stderr, fprintf(stderr,
/* translator: check source for value for %d */ /* translator: check source for value for %d */
_("%s: disconnected. Waiting %d seconds to try again.\n"), _("%s: disconnected; waiting %d seconds to try again\n"),
progname, RECONNECT_SLEEP_TIME); progname, RECONNECT_SLEEP_TIME);
pg_usleep(RECONNECT_SLEEP_TIME * 1000000); pg_usleep(RECONNECT_SLEEP_TIME * 1000000);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment