* Build a per-output-tuple ExprContext for an EState. * * This is normally invoked via GetPerTupleExprContext() macro, * not directly. */
| 507 | * not directly. |
| 508 | */ |
| 509 | ExprContext * |
| 510 | MakePerTupleExprContext(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 | /* ---------------------------------------------------------------- |
nothing calls this directly
no test coverage detected