postgres.git / summary / log / commit / refs
commit 964bddf1e87a42bbaaa989be0aabee94dbac9432
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon Feb 26 16:54:00 2018 +0000
First released in: 11.0
Fix typo in internal error message
src/pl/plpgsql/src/pl_exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index eae51e316a9..4ff87e08799 100644
--- a/src/pl/plpgsql/src/pl_exec.c
+++ b/src/pl/plpgsql/src/pl_exec.c
@@ -1999,7 +1999,7 @@ exec_stmt(PLpgSQL_execstate *estate, PLpgSQL_stmt *stmt)
default:
estate->err_stmt = save_estmt;
- elog(ERROR, "unrecognized cmdtype: %d", stmt->cmd_type);
+ elog(ERROR, "unrecognized cmd_type: %d", stmt->cmd_type);
}
/* Let the plugin know that we have finished executing this statement */
[parent: 5770172cb0c9]