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

Function ExecInitExprSlots

src/backend/executor/execExpr.c:2652–2663  ·  view source on GitHub ↗

* Add expression steps deforming the ExprState's inner/outer/scan slots * as much as required by the expression. */

Source from the content-addressed store, hash-verified

2650 * as much as required by the expression.
2651 */
2652static void
2653ExecInitExprSlots(ExprState *state, Node *node)
2654{
2655 LastAttnumInfo info = {0, 0, 0};
2656
2657 /*
2658 * Figure out which attributes we're going to need.
2659 */
2660 get_last_attnums_walker(node, &info);
2661
2662 ExecPushExprSlots(state, &info);
2663}
2664
2665/*
2666 * Add steps deforming the ExprState's inner/out/scan slots as much as

Callers 4

ExecInitExprFunction · 0.85
ExecInitExprWithParamsFunction · 0.85
ExecInitQualFunction · 0.85
ExecBuildProjectionInfoFunction · 0.85

Calls 2

get_last_attnums_walkerFunction · 0.85
ExecPushExprSlotsFunction · 0.85

Tested by

no test coverage detected