mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
pg_basebackup: Small message punctuation improvements
This commit is contained in:
parent
9ac749ceb5
commit
6925e38dad
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user