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

Function PLy_spi_subtransaction_commit

src/pl/plpython/plpy_spi.c:664–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664void
665PLy_spi_subtransaction_commit(MemoryContext oldcontext, ResourceOwner oldowner)
666{
667 /* Commit the inner transaction, return to outer xact context */
668 ReleaseCurrentSubTransaction();
669 MemoryContextSwitchTo(oldcontext);
670 CurrentResourceOwner = oldowner;
671}
672
673void
674PLy_spi_subtransaction_abort(MemoryContext oldcontext, ResourceOwner oldowner)

Callers 7

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

Calls 2

MemoryContextSwitchToFunction · 0.85

Tested by

no test coverage detected