Fix error message.
authorThomas Munro
Thu, 23 Jul 2020 09:10:49 +0000 (21:10 +1200)
committerThomas Munro
Thu, 23 Jul 2020 09:17:47 +0000 (21:17 +1200)
Remove extra space.  Back-patch to all releases, like commit 7897e3bb.

Author: Lu, Chenyang 
Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local

src/backend/storage/file/buffile.c

index 63e45ecc48a16f2aa64a74911e7cc36ec85c99af..1d548a02d62aa078a0bb8514958957a6f8f1103d 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;