]> granicus.if.org Git - postgresql/commitdiff
Add quotes to messages
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Feb 2013 04:33:07 +0000 (23:33 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Feb 2013 04:33:07 +0000 (23:33 -0500)
src/backend/replication/basebackup.c

index 57946a9fa978cf6a2e8e1e8b8aa0d62dcf03f025..9e1c5d7363b5fc2c39bfae653e1fe151a6c9c81d 100644 (file)
@@ -314,7 +314,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
                        char startfname[MAXFNAMELEN];
                        XLogFileName(startfname, ThisTimeLineID, startsegno);
                        ereport(ERROR,
-                                       (errmsg("could not find WAL file %s", startfname)));
+                                       (errmsg("could not find WAL file \"%s\"", startfname)));
                }
                for (i = 0; i < nWalFiles; i++)
                {
@@ -327,7 +327,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
                                char nextfname[MAXFNAMELEN];
                                XLogFileName(nextfname, ThisTimeLineID, nextsegno);
                                ereport(ERROR,
-                                               (errmsg("could not find WAL file %s", nextfname)));
+                                               (errmsg("could not find WAL file \"%s\"", nextfname)));
                        }
                }
                if (segno != endsegno)
@@ -335,7 +335,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
                        char endfname[MAXFNAMELEN];
                        XLogFileName(endfname, ThisTimeLineID, endsegno);
                        ereport(ERROR,
-                                       (errmsg("could not find WAL file %s", endfname)));
+                                       (errmsg("could not find WAL file \"%s\"", endfname)));
                }
 
                /* Ok, we have everything we need. Send the WAL files. */