aboutsummaryrefslogtreecommitdiff
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:47:39 -0500
commitafcb0c97efc58459bcbbe795f42d8b7be414e076 (patch)
tree035044c69631fcd11bb9981c9ea2ebd936ec9248
parentd93b7535a68b03cb8126b930af796af469fdd109 (diff)
downloadpostgresql-afcb0c97efc58459bcbbe795f42d8b7be414e076.tar.gz
postgresql-afcb0c97efc58459bcbbe795f42d8b7be414e076.zip
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 4d22802912b..9afacdb9002 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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);
}