]> granicus.if.org Git - postgresql/commitdiff
Small punctuation fixes
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Aug 2012 07:10:04 +0000 (03:10 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Aug 2012 07:10:31 +0000 (03:10 -0400)
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/receivelog.c

index c004162cf6e058ea9917dbe2e927fa80ab16cbd6..4d91addc56d6ea2b6978b86559372f204e883998 100644 (file)
@@ -436,7 +436,8 @@ main(int argc, char **argv)
                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);
                }
index 9de0eb6275c784618573a4b98bc5d6990664fdcf..0aec5d2f9d23ee9c611caf5e0502a2a29d779b01 100644 (file)
@@ -181,7 +181,7 @@ close_walfile(char *basedir, char *walname, bool segment_complete)
        }
        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;
@@ -622,7 +622,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
        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;
@@ -631,7 +631,7 @@ error:
        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;