From: Thomas Munro Date: Thu, 23 Jul 2020 09:10:49 +0000 (+1200) Subject: Fix error message. X-Git-Tag: REL9_5_23~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3725c8ce4b29076baabb3856e1ade2f15ceee938;p=thirdparty%2Fpostgresql.git Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local --- diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c index 1d6b8b4d5ad..b06fedb5482 100644 --- a/src/backend/storage/file/buffile.c +++ b/src/backend/storage/file/buffile.c @@ -333,7 +333,7 @@ BufFileDumpBuffer(BufFile *file) if (bytestowrite <= 0) ereport(ERROR, (errcode_for_file_access(), - errmsg("could not write to file \"%s\" : %m", + errmsg("could not write to file \"%s\": %m", FilePathName(thisfile)))); file->offsets[file->curFile] += bytestowrite;