Skip to content

Commit d48f273

Browse files
committed
Add missing newline to error messages
Also improve the message style a bit while we're here.
1 parent 50baad4 commit d48f273

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11945,7 +11945,7 @@ dumpCast(Archive *fout, CastInfo *cast)
1194511945
{
1194611946
funcInfo = findFuncByOid(cast->castfunc);
1194711947
if (funcInfo == NULL)
11948-
exit_horribly(NULL, "unable to find function definition for OID %u",
11948+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1194911949
cast->castfunc);
1195011950
}
1195111951

@@ -12055,14 +12055,14 @@ dumpTransform(Archive *fout, TransformInfo *transform)
1205512055
{
1205612056
fromsqlFuncInfo = findFuncByOid(transform->trffromsql);
1205712057
if (fromsqlFuncInfo == NULL)
12058-
exit_horribly(NULL, "unable to find function definition for OID %u",
12058+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1205912059
transform->trffromsql);
1206012060
}
1206112061
if (OidIsValid(transform->trftosql))
1206212062
{
1206312063
tosqlFuncInfo = findFuncByOid(transform->trftosql);
1206412064
if (tosqlFuncInfo == NULL)
12065-
exit_horribly(NULL, "unable to find function definition for OID %u",
12065+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1206612066
transform->trftosql);
1206712067
}
1206812068

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy