aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/buffile.c
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:15:01 +1200
commit6b366190d54a2cfc57782e11c62f05899e17b6ae (patch)
treecfc5b6dd2a98aa1ac9519ba0136afbc93f4dba9f /src/backend/storage/file/buffile.c
parent9f5162ef43c52396c4365b9cabfdffb4e4bf716d (diff)
downloadpostgresql-6b366190d54a2cfc57782e11c62f05899e17b6ae.tar.gz
postgresql-6b366190d54a2cfc57782e11c62f05899e17b6ae.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
Diffstat (limited to 'src/backend/storage/file/buffile.c')
-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 298b10b543a..1b37062321a 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;