Commit 4f362926 authored by Peter Eisentraut's avatar Peter Eisentraut

Add quotes to messages

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