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 6fe5ab7 + d738dfc commit e245c12Copy full SHA for e245c12
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