Skip to content

Commit a572788

Browse files
committed
Small punctuation fixes
1 parent bf849af commit a572788

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/bin/pg_basebackup/pg_receivexlog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ main(int argc, char **argv)
438438
else
439439
{
440440
fprintf(stderr,
441-
_("%s: disconnected. Waiting %d seconds to try again\n"),
441+
/* translator: check source for value for %d */
442+
_("%s: disconnected. Waiting %d seconds to try again.\n"),
442443
progname, RECONNECT_SLEEP_TIME);
443444
pg_usleep(RECONNECT_SLEEP_TIME * 1000000);
444445
}

src/bin/pg_basebackup/receivelog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ close_walfile(char *basedir, char *walname, bool segment_complete)
180180
}
181181
else
182182
fprintf(stderr,
183-
_("%s: not renaming \"%s\", segment is not complete.\n"),
183+
_("%s: not renaming \"%s\", segment is not complete\n"),
184184
progname, walname);
185185

186186
return true;
@@ -622,7 +622,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
622622
if (copybuf != NULL)
623623
PQfreemem(copybuf);
624624
if (walfile != -1 && close(walfile) != 0)
625-
fprintf(stderr, _("%s: could not close file %s: %s\n"),
625+
fprintf(stderr, _("%s: could not close file \"%s\": %s\n"),
626626
progname, current_walfile_name, strerror(errno));
627627
walfile = -1;
628628
return true;
@@ -631,7 +631,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
631631
if (copybuf != NULL)
632632
PQfreemem(copybuf);
633633
if (walfile != -1 && close(walfile) != 0)
634-
fprintf(stderr, _("%s: could not close file %s: %s\n"),
634+
fprintf(stderr, _("%s: could not close file \"%s\": %s\n"),
635635
progname, current_walfile_name, strerror(errno));
636636
walfile = -1;
637637
return false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy