]> granicus.if.org Git - postgresql/commitdiff
Fix typo in internal error message
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 26 Feb 2018 16:54:00 +0000 (11:54 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 26 Feb 2018 16:54:00 +0000 (11:54 -0500)
src/pl/plpgsql/src/pl_exec.c

index eae51e316a9519f40057c953b66b026cbc488cab..4ff87e0879936d85872c3f174b4d5922400b33a5 100644 (file)
@@ -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 */