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

Function ExecFreeExprContext

src/backend/executor/execUtils.c:706–714  ·  view source on GitHub ↗

---------------- * ExecFreeExprContext * * A plan node's ExprContext should be freed explicitly during executor * shutdown because there may be shutdown callbacks to call. (Other resources * made by the above routines, such as projection info, don't need to be freed * explicitly because they're just memory in the per-query memory context.) * * However ... there is no particular need to d

Source from the content-addressed store, hash-verified

704 * ----------------
705 */
706void
707ExecFreeExprContext(PlanState *planstate)
708{
709 /*
710 * Per above discussion, don't actually delete the ExprContext. We do
711 * unlink it from the plan node, though.
712 */
713 planstate->ps_ExprContext = NULL;
714}
715
716
717/* ----------------------------------------------------------------

Callers 15

ExecEndSetOpFunction · 0.85
ExecEndIndexOnlyScanFunction · 0.85
ExecEndUniqueFunction · 0.85
ExecEndMotionFunction · 0.85
ExecEndTidRangeScanFunction · 0.85
ExecEndMergeJoinFunction · 0.85
ExecEndRuntimeFilterFunction · 0.85
ExecEndWorkTableScanFunction · 0.85
ExecEndWindowAggFunction · 0.85
ExecEndAssertOpFunction · 0.85
ExecEndHashFunction · 0.85
ExecEndCustomScanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected