1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00

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
This commit is contained in:
Thomas Munro
2020-07-23 21:10:49 +12:00
parent 43e21fd8f6
commit 3725c8ce4b

View File

@ -333,7 +333,7 @@ BufFileDumpBuffer(BufFile *file)
if (bytestowrite <= 0) if (bytestowrite <= 0)
ereport(ERROR, ereport(ERROR,
(errcode_for_file_access(), (errcode_for_file_access(),
errmsg("could not write to file \"%s\" : %m", errmsg("could not write to file \"%s\": %m",
FilePathName(thisfile)))); FilePathName(thisfile))));
file->offsets[file->curFile] += bytestowrite; file->offsets[file->curFile] += bytestowrite;