Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafcb0c9

Browse files
committed
Add missing newline to error messages
Also improve the message style a bit while we're here.
1 parentd93b753 commitafcb0c9

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 forfunction withOID %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 forfunction withOID %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 forfunction withOID %u\n",
1161011610
transform->trftosql);
1161111611
}
1161211612

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp