diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 579a6c572d4223324d4726f99b58bbf3821b74e7..2a3682f1d9dfdb33b91336271f5d2321a5e12c92 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.243 2009/06/11 14:49:14 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.244 2009/06/17 13:46:12 petere Exp $ * *------------------------------------------------------------------------- */ @@ -3975,7 +3975,7 @@ exec_eval_datum(PLpgSQL_execstate *estate, if (expectedtypeid != InvalidOid && expectedtypeid != *typeid) ereport(ERROR, (errcode(ERRCODE_DATATYPE_MISMATCH), - errmsg("type of tgargv[%d] does not match that when preparing the plan", + errmsg("type of tg_argv[%d] does not match that when preparing the plan", tgargno))); break; }