else
{
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);
pg_usleep(RECONNECT_SLEEP_TIME * 1000000);
}
}
else
fprintf(stderr,
- _("%s: not renaming \"%s\", segment is not complete.\n"),
+ _("%s: not renaming \"%s\", segment is not complete\n"),
progname, walname);
return true;
if (copybuf != NULL)
PQfreemem(copybuf);
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));
walfile = -1;
return true;
if (copybuf != NULL)
PQfreemem(copybuf);
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));
walfile = -1;
return false;