aboutsummaryrefslogtreecommitdiff
path: root/src
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:34 -0500
commitcff0d02e8e8e26b67865967c088ef65aaeb2deff (patch)
tree1d7ad166f704df084e731e4c8542a897d5e5a642 /src
parent8e93e759bbcec69f7e0e778e25aa335e72a50d91 (diff)
downloadpostgresql-cff0d02e8e8e26b67865967c088ef65aaeb2deff.tar.gz
postgresql-cff0d02e8e8e26b67865967c088ef65aaeb2deff.zip
Add missing newline to error messages
Also improve the message style a bit while we're here.
Diffstat (limited to 'src')
-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 dd5e547483e..180f51c76bc 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -10850,7 +10850,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);
}
@@ -10955,14 +10955,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);
}