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

Commitd48f273

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

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 forfunction withOID %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 forfunction withOID %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 forfunction withOID %u\n",
1206612066
transform->trftosql);
1206712067
}
1206812068

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp