From 6925e38dadca0e64e8528316ccee7591fe88331f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 19 Dec 2012 07:01:11 -0500 Subject: [PATCH] pg_basebackup: Small message punctuation improvements --- src/bin/pg_basebackup/pg_basebackup.c | 4 ++-- src/bin/pg_basebackup/pg_receivexlog.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index 4249c0417d..9dd8278f17 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -1136,7 +1136,7 @@ BaseBackup(void) if (verbose) fprintf(stderr, - _("%s: waiting for background process to finish streaming...\n"), progname); + _("%s: waiting for background process to finish streaming ...\n"), progname); #ifndef WIN32 if (write(bgpipe[1], xlogend, strlen(xlogend)) != strlen(xlogend)) @@ -1443,7 +1443,7 @@ main(int argc, char **argv) if (format != 'p' && streamwal) { 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); fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c index 7f6121a945..88cb71747e 100644 --- a/src/bin/pg_basebackup/pg_receivexlog.c +++ b/src/bin/pg_basebackup/pg_receivexlog.c @@ -80,7 +80,7 @@ stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished) if (time_to_abort) { - fprintf(stderr, _("%s: received interrupt signal, exiting.\n"), + fprintf(stderr, _("%s: received interrupt signal, exiting\n"), progname); return true; } @@ -427,14 +427,14 @@ main(int argc, char **argv) } else if (noloop) { - fprintf(stderr, _("%s: disconnected.\n"), progname); + fprintf(stderr, _("%s: disconnected\n"), progname); exit(1); } else { fprintf(stderr, /* 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); pg_usleep(RECONNECT_SLEEP_TIME * 1000000); } -- 2.40.0