postgres.git / summary / log / commit / refs

commit    4f362926692631a67cd76b747f92389c8f63478e
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Sat Feb 23 04:33:07 2013 +0000
First released in: 9.3.0, 9.2.4

    Add quotes to messages


src/backend/replication/basebackup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index 57946a9fa97..9e1c5d7363b 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -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. */ [parent: 36f697cbba44]