From: Peter Eisentraut Date: Sat, 23 Feb 2013 04:33:07 +0000 (-0500) Subject: Add quotes to messages X-Git-Tag: REL9_2_4~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a70924bcaf14ca6e4c80f5714ab68704d77ece1d;p=postgresql Add quotes to messages --- diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index 6011630029..6d1e7d6abd 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -308,7 +308,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir) char startfname[MAXFNAMELEN]; XLogFileName(startfname, ThisTimeLineID, startlogid, startlogseg); ereport(ERROR, - (errmsg("could not find WAL file %s", startfname))); + (errmsg("could not find WAL file \"%s\"", startfname))); } for (i = 0; i < nWalFiles; i++) { @@ -325,7 +325,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir) char nextfname[MAXFNAMELEN]; XLogFileName(nextfname, ThisTimeLineID, nextlogid, nextlogseg); ereport(ERROR, - (errmsg("could not find WAL file %s", nextfname))); + (errmsg("could not find WAL file \"%s\"", nextfname))); } } if (logid != endlogid || logseg != endlogseg) @@ -333,7 +333,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir) char endfname[MAXFNAMELEN]; XLogFileName(endfname, ThisTimeLineID, endlogid, endlogseg); 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. */