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

Function ExecGetResultSlotOps

src/backend/executor/execUtils.c:555–579  ·  view source on GitHub ↗

* ExecGetResultSlotOps - information about node's type of result slot */

Source from the content-addressed store, hash-verified

553 * ExecGetResultSlotOps - information about node's type of result slot
554 */
555const TupleTableSlotOps *
556ExecGetResultSlotOps(PlanState *planstate, bool *isfixed)
557{
558 if (planstate->resultopsset && planstate->resultops)
559 {
560 if (isfixed)
561 *isfixed = planstate->resultopsfixed;
562 return planstate->resultops;
563 }
564
565 if (isfixed)
566 {
567 if (planstate->resultopsset)
568 *isfixed = planstate->resultopsfixed;
569 else if (planstate->ps_ResultTupleSlot)
570 *isfixed = TTS_FIXED(planstate->ps_ResultTupleSlot);
571 else
572 *isfixed = false;
573 }
574
575 if (!planstate->ps_ResultTupleSlot)
576 return &TTSOpsVirtual;
577
578 return planstate->ps_ResultTupleSlot->tts_ops;
579}
580
581
582/* ----------------

Callers 11

ExecInitMergeJoinFunction · 0.85
ExecInitRuntimeFilterFunction · 0.85
ExecInitSubqueryScanFunction · 0.85
ExecInitTupleSplitFunction · 0.85
ExecInitLockRowsFunction · 0.85
ExecInitHashJoinFunction · 0.85
ExecInitLimitFunction · 0.85
ExecInitSequenceFunction · 0.85
ExecComputeSlotInfoFunction · 0.85
ExecInitAggFunction · 0.85
ExecInitGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected