if (ret_numvals % 2 != 0)
ereport(ERROR,
(errcode(ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED),
- errmsg("invalid return list from trigger - must have even # of elements")));
+ errmsg("trigger's return list must have even number of elements")));
modattrs = (int *) palloc(tupdesc->natts * sizeof(int));
modvalues = (Datum *) palloc(tupdesc->natts * sizeof(Datum));
if (strlen(nulls) != qdesc->nargs)
{
Tcl_SetResult(interp,
- "length of nulls string doesn't match # of arguments",
+ "length of nulls string doesn't match number of arguments",
TCL_STATIC);
return TCL_ERROR;
}
return TCL_ERROR;
/************************************************************
- * Check that the # of arguments matches
+ * Check that the number of arguments matches
************************************************************/
if (callnargs != qdesc->nargs)
{
Tcl_SetResult(interp,
- "argument list length doesn't match # of arguments for query",
+ "argument list length doesn't match number of arguments for query",
TCL_STATIC);
ckfree((char *) callargs);
return TCL_ERROR;