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

Commit8b583ba

Browse files
committed
Make error messages match backend style.
1 parenteac951d commit8b583ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/pl/tcl/pltcl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* pltcl.c- PostgreSQL support for Tcl as
33
* procedural language (PL)
44
*
5-
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.125 2009/01/07 13:44:37 tgl Exp $
5+
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.126 2009/01/14 20:01:52 petere Exp $
66
*
77
**********************************************************************/
88

@@ -1198,7 +1198,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
11981198
free(prodesc);
11991199
ereport(ERROR,
12001200
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
1201-
errmsg("pltcl functions cannot return type %s",
1201+
errmsg("PL/Tcl functions cannot return type %s",
12021202
format_type_be(procStruct->prorettype))));
12031203
}
12041204
}
@@ -1210,7 +1210,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
12101210
free(prodesc);
12111211
ereport(ERROR,
12121212
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
1213-
errmsg("pltcl functions cannot returntuples yet")));
1213+
errmsg("PL/Tcl functions cannot returncomposite types")));
12141214
}
12151215

12161216
perm_fmgr_info(typeStruct->typinput,&(prodesc->result_in_func));
@@ -1250,7 +1250,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
12501250
free(prodesc);
12511251
ereport(ERROR,
12521252
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
1253-
errmsg("pltcl functions cannottake type %s",
1253+
errmsg("PL/Tcl functions cannotaccept type %s",
12541254
format_type_be(procStruct->proargtypes.values[i]))));
12551255
}
12561256

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp