summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-02-06 09:47:39 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-02-06 09:48:24 -0500
commitd48f273b3144b72e4f6ab1e704e64cc48b4026fa (patch)
tree33667bd1c4be221a7f3c30e3fb1e731f30a7f932
parent50baad4433112c60c7c901d0939c009322b6cedb (diff)
downloadpostgresql-d48f273b3144b72e4f6ab1e704e64cc48b4026fa.tar.gz
Add missing newline to error messages
Also improve the message style a bit while we're here.
-rw-r--r--src/bin/pg_dump/pg_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 8b2c7b913c..ea64c77621 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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);
}