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

Function PLy_procedure_delete

src/pl/plpython/plpy_procedure.c:404–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void
405PLy_procedure_delete(PLyProcedure *proc)
406{
407 Py_XDECREF(proc->code);
408 Py_XDECREF(proc->statics);
409 Py_XDECREF(proc->globals);
410 MemoryContextDelete(proc->mcxt);
411}
412
413/*
414 * Decide whether a cached PLyProcedure struct is still valid

Callers 3

plpython_inline_handlerFunction · 0.85
PLy_procedure_getFunction · 0.85
PLy_procedure_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected