We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8327afb + 1fe3497 commit d738dfcCopy full SHA for d738dfc
src/stmtwalk.c
@@ -1480,7 +1480,7 @@ push_stmt_to_stmt_stack(PLpgSQL_checkstate *cstate)
1480
PLpgSQL_stmt_stack_item *stmt_stack_item;
1481
PLpgSQL_stmt_stack_item *current = cstate->top_stmt_stack;
1482
1483
- stmt_stack_item = (PLpgSQL_stmt_stack_item *) palloc(sizeof(PLpgSQL_stmt_stack_item));
+ stmt_stack_item = (PLpgSQL_stmt_stack_item *) palloc0(sizeof(PLpgSQL_stmt_stack_item));
1484
stmt_stack_item->stmt = stmt;
1485
1486
switch (PLPGSQL_STMT_TYPES stmt->cmd_type)
0 commit comments