Fix error message.
authorThomas Munro <tmunro@postgresql.org>
Thu, 23 Jul 2020 09:10:49 +0000 (21:10 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 23 Jul 2020 09:10:49 +0000 (21:10 +1200)
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

src/backend/storage/file/buffile.c

index 3907349b691ea36b501fb0fc548f106649c957b1..2d7a08232089dcba4f699c4b6f294431291a7a34 100644 (file)
@@ -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;