Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6925e38

Browse files
committed
pg_basebackup: Small message punctuation improvements
1 parent9ac749c commit6925e38

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ BaseBackup(void)
11361136

11371137
if (verbose)
11381138
fprintf(stderr,
1139-
_("%s: waiting for background process to finish streaming...\n"),progname);
1139+
_("%s: waiting for background process to finish streaming...\n"),progname);
11401140

11411141
#ifndefWIN32
11421142
if (write(bgpipe[1],xlogend,strlen(xlogend))!=strlen(xlogend))
@@ -1443,7 +1443,7 @@ main(int argc, char **argv)
14431443
if (format!='p'&&streamwal)
14441444
{
14451445
fprintf(stderr,
1446-
_("%s:wal streaming can only be used in plain mode\n"),
1446+
_("%s:WAL streaming can only be used in plain mode\n"),
14471447
progname);
14481448
fprintf(stderr,_("Try \"%s --help\" for more information.\n"),
14491449
progname);

‎src/bin/pg_basebackup/pg_receivexlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ stop_streaming(XLogRecPtr segendpos, uint32 timeline, bool segment_finished)
8080

8181
if (time_to_abort)
8282
{
83-
fprintf(stderr,_("%s: received interrupt signal, exiting.\n"),
83+
fprintf(stderr,_("%s: received interrupt signal, exiting\n"),
8484
progname);
8585
return true;
8686
}
@@ -427,14 +427,14 @@ main(int argc, char **argv)
427427
}
428428
elseif (noloop)
429429
{
430-
fprintf(stderr,_("%s: disconnected.\n"),progname);
430+
fprintf(stderr,_("%s: disconnected\n"),progname);
431431
exit(1);
432432
}
433433
else
434434
{
435435
fprintf(stderr,
436436
/* translator: check source for value for %d */
437-
_("%s: disconnected. Waiting %d seconds to try again.\n"),
437+
_("%s: disconnected; waiting %d seconds to try again\n"),
438438
progname,RECONNECT_SLEEP_TIME);
439439
pg_usleep(RECONNECT_SLEEP_TIME*1000000);
440440
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp