2
2
* pltcl.c - PostgreSQL support for Tcl as
3
3
* procedural language (PL)
4
4
*
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 $
6
6
*
7
7
**********************************************************************/
8
8
@@ -1198,7 +1198,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
1198
1198
free (prodesc );
1199
1199
ereport (ERROR ,
1200
1200
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
1201
- errmsg ("pltcl functions cannot return type %s" ,
1201
+ errmsg ("PL/Tcl functions cannot return type %s" ,
1202
1202
format_type_be (procStruct -> prorettype ))));
1203
1203
}
1204
1204
}
@@ -1210,7 +1210,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
1210
1210
free (prodesc );
1211
1211
ereport (ERROR ,
1212
1212
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
1213
- errmsg ("pltcl functions cannot return tuples yet " )));
1213
+ errmsg ("PL/Tcl functions cannot return composite types " )));
1214
1214
}
1215
1215
1216
1216
perm_fmgr_info (typeStruct -> typinput , & (prodesc -> result_in_func ));
@@ -1250,7 +1250,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid)
1250
1250
free (prodesc );
1251
1251
ereport (ERROR ,
1252
1252
(errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
1253
- errmsg ("pltcl functions cannot take type %s" ,
1253
+ errmsg ("PL/Tcl functions cannot accept type %s" ,
1254
1254
format_type_be (procStruct -> proargtypes .values [i ]))));
1255
1255
}
1256
1256
0 commit comments