@@ -1055,7 +1055,7 @@ pltcl_trigger_handler(PG_FUNCTION_ARGS, bool pltrusted)
1055
1055
if (ret_numvals % 2 != 0 )
1056
1056
ereport (ERROR ,
1057
1057
(errcode (ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED ),
1058
- errmsg ("invalid return list from trigger - must have even # of elements" )));
1058
+ errmsg ("trigger's return list must have even number of elements" )));
1059
1059
1060
1060
modattrs = (int * ) palloc (tupdesc -> natts * sizeof (int ));
1061
1061
modvalues = (Datum * ) palloc (tupdesc -> natts * sizeof (Datum ));
@@ -2345,7 +2345,7 @@ pltcl_SPI_execute_plan(ClientData cdata, Tcl_Interp *interp,
2345
2345
if (strlen (nulls ) != qdesc -> nargs )
2346
2346
{
2347
2347
Tcl_SetResult (interp ,
2348
- "length of nulls string doesn't match # of arguments" ,
2348
+ "length of nulls string doesn't match number of arguments" ,
2349
2349
TCL_STATIC );
2350
2350
return TCL_ERROR ;
2351
2351
}
@@ -2370,12 +2370,12 @@ pltcl_SPI_execute_plan(ClientData cdata, Tcl_Interp *interp,
2370
2370
return TCL_ERROR ;
2371
2371
2372
2372
/************************************************************
2373
- * Check that the # of arguments matches
2373
+ * Check that the number of arguments matches
2374
2374
************************************************************/
2375
2375
if (callnargs != qdesc -> nargs )
2376
2376
{
2377
2377
Tcl_SetResult (interp ,
2378
- "argument list length doesn't match # of arguments for query" ,
2378
+ "argument list length doesn't match number of arguments for query" ,
2379
2379
TCL_STATIC );
2380
2380
ckfree ((char * ) callargs );
2381
2381
return TCL_ERROR ;
0 commit comments