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

src/bin/pg_dump/pg_dump.c

index 68468e335bf76fdb7a8159148d25c0910f95eae7..2010d804b9402ca8a416043f3f448a0f39177a88 100644 (file)
@@ -9657,7 +9657,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);
    }