Fix typo in error message: tgargv -> tg_argv
authorPeter Eisentraut <[email protected]>
Wed, 17 Jun 2009 13:46:12 +0000 (13:46 +0000)
committerPeter Eisentraut <[email protected]>
Wed, 17 Jun 2009 13:46:12 +0000 (13:46 +0000)
src/pl/plpgsql/src/pl_exec.c

index 3af3aeebb8d7764f1e20749c5a33bd851f9dfa53..6158d122c0a761fcabd03fd89c48eb95e0aaaced 100644 (file)
@@ -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;
                        }