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

Function MakePerTupleExprContext

src/backend/executor/execUtils.c:509–516  ·  view source on GitHub ↗

* Build a per-output-tuple ExprContext for an EState. * * This is normally invoked via GetPerTupleExprContext() macro, * not directly. */

Source from the content-addressed store, hash-verified

507 * not directly.
508 */
509ExprContext *
510MakePerTupleExprContext(EState *estate)
511{
512 if (estate->es_per_tuple_exprcontext == NULL)
513 estate->es_per_tuple_exprcontext = CreateExprContext(estate);
514
515 return estate->es_per_tuple_exprcontext;
516}
517
518
519/* ----------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

CreateExprContextFunction · 0.85

Tested by

no test coverage detected