8000 Add quotes to messages · danielcode/postgres@a70924b · GitHub
[go: up one dir, main page]

Skip to content

Commit a70924b

Browse files
committed
Add quotes to messages
1 parent ca60f0c commit a70924b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/replication/basebackup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
308308
char startfname[MAXFNAMELEN];
309309
XLogFileName(startfname, ThisTimeLineID, startlogid, startlogseg);
310310
ereport(ERROR,
311-
(errmsg("could not find WAL file %s", startfname)));
311+
(errmsg("could not find WAL file \"%s\"", startfname)));
312312
}
313313
for (i = 0; i < nWalFiles; i++)
314314
{
@@ -325,15 +325,15 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
325325
char nextfname[MAXFNAMELEN];
326326
XLogFileName(nextfname, ThisTimeLineID, nextlogid, nextlogseg);
327327
ereport(ERROR,
328-
(errmsg("could not find WAL file %s", nextfname)));
328+
(errmsg("could not find WAL file \"%s\"", nextfname)));
329329
}
330330
}
331331
if (logid != endlogid || logseg != endlogseg)
332332
{
333333
char endfname[MAXFNAMELEN];
334334
XLogFileName(endfname, ThisTimeLineID, endlogid, endlogseg);
335335
ereport(ERROR,
336-
(errmsg("could not find WAL file %s", endfname)));
336+
(errmsg("could not find WAL file \"%s\"", endfname)));
337337
}
338338

339339
/* Ok, we have everything we need. Send the WAL files. */

0 commit comments

Comments
 (0)
0