postgres.git / summary / log / commit / refs
commit 8bf4e69a7f7b076fae3b8e2361977f590d095b5a
Author: Thomas Munro <tmunro@postgresql.org>
Date: Thu Jul 23 09:10:49 2020 +0000
First released in: 14.0, 9.5.23, 9.6.19, 10.14, 11.9, 12.4, 13.0
Fix error message.
Remove extra space. Back-patch to all releases, like commit 7897e3bb.
Author: Lu, Chenyang <lucy.fnst@cn.fujitsu.com>
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 63e45ecc48a..1d548a02d62 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -499,7 +499,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->curOffset += bytestowrite;
wpos += bytestowrite;
[parent: e30a63f258f5]