aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-06-17 13:46:12 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-06-17 13:46:12 +0000
commit33d48d975f34eb63c585677109794558c7c4af2b (patch)
treedfc7aeafd84de783d6d054fe4364a2938eb46adb
parentf51c9a66651dd3d5130c7731bcc10248517fbfbd (diff)
downloadpostgresql-33d48d975f34eb63c585677109794558c7c4af2b.tar.gz
postgresql-33d48d975f34eb63c585677109794558c7c4af2b.zip
Fix typo in error message: tgargv -> tg_argv
-rw-r--r--src/pl/plpgsql/src/pl_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index 579a6c572d4..2a3682f1d9d 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;
}