mirror of
https://github.com/postgres/postgres.git
synced 2026-04-24 23:57:18 -04:00
Add missing newline to error messages
Also improve the message style a bit while we're here.
This commit is contained in:
parent
50baad4433
commit
d48f273b31
1 changed files with 3 additions and 3 deletions
|
|
@ -11945,7 +11945,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);
|
||||
}
|
||||
|
||||
|
|
@ -12055,14 +12055,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue