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:18:34 +1200
commit3725c8ce4b29076baabb3856e1ade2f15ceee938 (patch)
treed135187ba541a270f890a85aae72ea8026ecaae9 /src/backend/storage/file/buffile.c
parent43e21fd8f6e8680df0153a0286af394c22123694 (diff)
downloadpostgresql-3725c8ce4b29076baabb3856e1ade2f15ceee938.tar.gz
postgresql-3725c8ce4b29076baabb3856e1ade2f15ceee938.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 1d6b8b4d5ad..b06fedb5482 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;