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

Function ExecCreateScanSlotFromOuterPlan

src/backend/executor/execUtils.c:738–750  ·  view source on GitHub ↗

---------------- * ExecCreateScanSlotFromOuterPlan * ---------------- */

Source from the content-addressed store, hash-verified

736 * ----------------
737 */
738void
739ExecCreateScanSlotFromOuterPlan(EState *estate,
740 ScanState *scanstate,
741 const TupleTableSlotOps *tts_ops)
742{
743 PlanState *outerPlan;
744 TupleDesc tupDesc;
745
746 outerPlan = outerPlanState(scanstate);
747 tupDesc = ExecGetResultType(outerPlan);
748
749 ExecInitScanTupleSlot(estate, scanstate, tupDesc, tts_ops);
750}
751
752/* ----------------------------------------------------------------
753 * ExecRelationIsTargetRelation

Callers 8

ExecInitWindowAggFunction · 0.85
ExecInitMemoizeFunction · 0.85
ExecInitTupleSplitFunction · 0.85
ExecInitMaterialFunction · 0.85
ExecInitIncrementalSortFunction · 0.85
ExecInitSortFunction · 0.85
ExecInitAggFunction · 0.85
ExecInitGroupFunction · 0.85

Calls 2

ExecGetResultTypeFunction · 0.85
ExecInitScanTupleSlotFunction · 0.85

Tested by

no test coverage detected