diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-01-14 20:01:52 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-01-14 20:01:52 +0000 |
commit | 8b583ba2d7a02efa6cb0d77c4317ca89832c027e (patch) | |
tree | c32aecc4a5be590b064ca783fcbffd68c480428e | |
parent | eac951d5107db0c280f179f38cba47a95e10f7e3 (diff) |
Make error messages match backend style.
-rw-r--r-- | src/pl/tcl/pltcl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index 3f5e32e52eb..c5c0f71d01a 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -2,7 +2,7 @@ * pltcl.c - PostgreSQL support for Tcl as * procedural language (PL) * - * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.125 2009/01/07 13:44:37 tgl Exp $ + * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.126 2009/01/14 20:01:52 petere Exp $ * **********************************************************************/ @@ -1198,7 +1198,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid) free(prodesc); ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("pltcl functions cannot return type %s", + errmsg("PL/Tcl functions cannot return type %s", format_type_be(procStruct->prorettype)))); } } @@ -1210,7 +1210,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid) free(prodesc); ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("pltcl functions cannot return tuples yet"))); + errmsg("PL/Tcl functions cannot return composite types"))); } perm_fmgr_info(typeStruct->typinput, &(prodesc->result_in_func)); @@ -1250,7 +1250,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid) free(prodesc); ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("pltcl functions cannot take type %s", + errmsg("PL/Tcl functions cannot accept type %s", format_type_be(procStruct->proargtypes.values[i])))); } |