Fix error message.
authorThomas Munro <[email protected]>
Thu, 23 Jul 2020 09:10:49 +0000 (21:10 +1200)
committerThomas Munro <[email protected]>
Thu, 23 Jul 2020 09:18:13 +0000 (21:18 +1200)
Remove extra space.  Back-patch to all releases, like commit 7897e3bb.

Author: Lu, Chenyang <[email protected]>
Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local

src/backend/storage/file/buffile.c

index b2a6ea082ff92fd2e1219af15b0baa92d28c8902..48e197edca1e9469405b98e4d191ec0f15e5c778 100644 (file)
@@ -340,7 +340,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;