Skip to content

Commit afcb0c9

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

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
@@ -11489,7 +11489,7 @@ dumpCast(Archive *fout, CastInfo *cast)
1148911489
{
1149011490
funcInfo = findFuncByOid(cast->castfunc);
1149111491
if (funcInfo == NULL)
11492-
exit_horribly(NULL, "unable to find function definition for OID %u",
11492+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1149311493
cast->castfunc);
1149411494
}
1149511495

@@ -11599,14 +11599,14 @@ dumpTransform(Archive *fout, TransformInfo *transform)
1159911599
{
1160011600
fromsqlFuncInfo = findFuncByOid(transform->trffromsql);
1160111601
if (fromsqlFuncInfo == NULL)
11602-
exit_horribly(NULL, "unable to find function definition for OID %u",
11602+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1160311603
transform->trffromsql);
1160411604
}
1160511605
if (OidIsValid(transform->trftosql))
1160611606
{
1160711607
tosqlFuncInfo = findFuncByOid(transform->trftosql);
1160811608
if (tosqlFuncInfo == NULL)
11609-
exit_horribly(NULL, "unable to find function definition for OID %u",
11609+
exit_horribly(NULL, "could not find function definition for function with OID %u\n",
1161011610
transform->trftosql);
1161111611
}
1161211612

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