aboutsummaryrefslogtreecommitdiff
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:02 +1200
commit028f0c3a86d003ecaab05ff9df2386f806a3ddf3 (patch)
tree6d4bcc331038c2720aa8ff1117dfd5535089cbb0
parent6ae2d925b131962cfb6a94294adae0eb77f77a16 (diff)
downloadpostgresql-028f0c3a86d003ecaab05ff9df2386f806a3ddf3.tar.gz
postgresql-028f0c3a86d003ecaab05ff9df2386f806a3ddf3.zip
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 337508f6c3d..4bfcda179d9 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -522,7 +522,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;