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

Function PLy_current_execution_context

src/pl/plpython/plpy_main.c:453–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453PLyExecutionContext *
454PLy_current_execution_context(void)
455{
456 if (PLy_execution_contexts == NULL)
457 elog(ERROR, "no Python function is currently executing");
458
459 return PLy_execution_contexts;
460}
461
462MemoryContext
463PLy_get_scratch_context(PLyExecutionContext *context)

Callers 15

PLy_cursor_queryFunction · 0.85
PLy_cursor_planFunction · 0.85
PLy_cursor_iternextFunction · 0.85
PLy_cursor_fetchFunction · 0.85
PLy_spi_prepareFunction · 0.85
PLy_spi_execute_planFunction · 0.85
PLy_spi_execute_queryFunction · 0.85
PLy_commitFunction · 0.85
PLy_rollbackFunction · 0.85
PLy_tracebackFunction · 0.85
PLy_input_convertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected