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:49:49 +0000 (09:49 -0500)
Also improve the message style a bit while we're here.

src/bin/pg_dump/pg_dump.c

index a8bb7b07e1d6be154908eddcb1ca5deac1a019de..c6881c05f35d467d00be6d4691e49236ff035f9a 100644 (file)
@@ -10302,7 +10302,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);
    }