summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2020-07-23 21:10:49 +1200
committerThomas Munro <tmunro@postgresql.org>2020-07-23 21:18:13 +1200
commitfac4145bf43ae332e377a37d8e1dc99c7eb3d975 (patch)
tree1ca1438be85c869ad92de4a1d1f6d146e83ce80b
parent9a3c895084c6cf9f41498c719b7a583a40488ee4 (diff)
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
-rw-r--r--src/backend/storage/file/buffile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index b2a6ea082ff..48e197edca1 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -340,7 +340,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;