MCPcopy Create free account
hub / github.com/apache/cloudberry / free_block

Function free_block

src/pl/plpgsql/src/pl_funcs.c:477–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static void
478free_block(PLpgSQL_stmt_block *block)
479{
480 free_stmts(block->body);
481 if (block->exceptions)
482 {
483 ListCell *e;
484
485 foreach(e, block->exceptions->exc_list)
486 {
487 PLpgSQL_exception *exc = (PLpgSQL_exception *) lfirst(e);
488
489 free_stmts(exc->action);
490 }
491 }
492}
493
494static void
495free_assign(PLpgSQL_stmt_assign *stmt)

Callers 2

free_stmtFunction · 0.85

Calls 2

free_stmtsFunction · 0.85
foreachFunction · 0.50

Tested by

no test coverage detected