Add missing newline to error messages
authorPeter Eisentraut
Mon, 6 Feb 2017 14:47:39 +0000 (09:47 -0500)
committerPeter Eisentraut
Mon, 6 Feb 2017 14:50:11 +0000 (09:50 -0500)
Also improve the message style a bit while we're here.

src/bin/pg_dump/pg_dump.c

index 977371a1e47e10d8af211b70f818ed084e37f828..bc55ba797801a09b138012fb1bffc7c1a335a8f4 100644 (file)
@@ -10176,7 +10176,7 @@ dumpCast(Archive *fout, CastInfo *cast)
    {
        funcInfo = findFuncByOid(cast->castfunc);
        if (funcInfo == NULL)
-           exit_horribly(NULL, "unable to find function definition for OID %u",
+           exit_horribly(NULL, "could not find function definition for function with OID %u\n",
                          cast->castfunc);
    }