Add missing newline to error messages

Also improve the message style a bit while we're here.
This commit is contained in:
Peter Eisentraut 2017-02-06 09:47:39 -05:00
parent d93b7535a6
commit afcb0c97ef
1 changed files with 3 additions and 3 deletions

View File

@ -11489,7 +11489,7 @@ dumpCast(Archive *fout, CastInfo *cast)
{ {
funcInfo = findFuncByOid(cast->castfunc); funcInfo = findFuncByOid(cast->castfunc);
if (funcInfo == NULL) 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); cast->castfunc);
} }
@ -11599,14 +11599,14 @@ dumpTransform(Archive *fout, TransformInfo *transform)
{ {
fromsqlFuncInfo = findFuncByOid(transform->trffromsql); fromsqlFuncInfo = findFuncByOid(transform->trffromsql);
if (fromsqlFuncInfo == NULL) if (fromsqlFuncInfo == 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",
transform->trffromsql); transform->trffromsql);
} }
if (OidIsValid(transform->trftosql)) if (OidIsValid(transform->trftosql))
{ {
tosqlFuncInfo = findFuncByOid(transform->trftosql); tosqlFuncInfo = findFuncByOid(transform->trftosql);
if (tosqlFuncInfo == NULL) if (tosqlFuncInfo == 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",
transform->trftosql); transform->trftosql);
} }