Commit afcb0c97 authored by Peter Eisentraut's avatar Peter Eisentraut

Add missing newline to error messages

Also improve the message style a bit while we're here.
parent d93b7535
......@@ -11489,7 +11489,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);
}
......@@ -11599,14 +11599,14 @@ dumpTransform(Archive *fout, TransformInfo *transform)
{
fromsqlFuncInfo = findFuncByOid(transform->trffromsql);
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);
}
if (OidIsValid(transform->trftosql))
{
tosqlFuncInfo = findFuncByOid(transform->trftosql);
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment