From 47adb24882b248db80b5b554cfb4474ca38516e5 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Thu, 23 Jul 2020 21:10:49 +1200 Subject: [PATCH] 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 --- src/backend/storage/file/buffile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c index 73d7d1cfd35..3015a5b9c8d 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;