Commit a5727888 authored by Peter Eisentraut's avatar Peter Eisentraut

Small punctuation fixes

parent bf849af7
...@@ -438,7 +438,8 @@ main(int argc, char **argv) ...@@ -438,7 +438,8 @@ main(int argc, char **argv)
else else
{ {
fprintf(stderr, fprintf(stderr,
_("%s: disconnected. Waiting %d seconds to try again\n"), /* translator: check source for value for %d */
_("%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);
} }
......
...@@ -180,7 +180,7 @@ close_walfile(char *basedir, char *walname, bool segment_complete) ...@@ -180,7 +180,7 @@ close_walfile(char *basedir, char *walname, bool segment_complete)
} }
else else
fprintf(stderr, fprintf(stderr,
_("%s: not renaming \"%s\", segment is not complete.\n"), _("%s: not renaming \"%s\", segment is not complete\n"),
progname, walname); progname, walname);
return true; return true;
...@@ -622,7 +622,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, ...@@ -622,7 +622,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
if (copybuf != NULL) if (copybuf != NULL)
PQfreemem(copybuf); PQfreemem(copybuf);
if (walfile != -1 && close(walfile) != 0) if (walfile != -1 && close(walfile) != 0)
fprintf(stderr, _("%s: could not close file %s: %s\n"), fprintf(stderr, _("%s: could not close file \"%s\": %s\n"),
progname, current_walfile_name, strerror(errno)); progname, current_walfile_name, strerror(errno));
walfile = -1; walfile = -1;
return true; return true;
...@@ -631,7 +631,7 @@ error: ...@@ -631,7 +631,7 @@ error:
if (copybuf != NULL) if (copybuf != NULL)
PQfreemem(copybuf); PQfreemem(copybuf);
if (walfile != -1 && close(walfile) != 0) if (walfile != -1 && close(walfile) != 0)
fprintf(stderr, _("%s: could not close file %s: %s\n"), fprintf(stderr, _("%s: could not close file \"%s\": %s\n"),
progname, current_walfile_name, strerror(errno)); progname, current_walfile_name, strerror(errno));
walfile = -1; walfile = -1;
return false; return false;
......
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