---------------- * ExecAssignProjectionInfo * * forms the projection information from the node's targetlist * * Notes for inputDesc are same as for ExecBuildProjectionInfo: supply it * for a relation-scan node, can pass NULL for upper-level nodes * ---------------- */
| 589 | * ---------------- |
| 590 | */ |
| 591 | void |
| 592 | ExecAssignProjectionInfo(PlanState *planstate, |
| 593 | TupleDesc inputDesc) |
| 594 | { |
| 595 | planstate->ps_ProjInfo = |
| 596 | ExecBuildProjectionInfo(planstate->plan->targetlist, |
| 597 | planstate->ps_ExprContext, |
| 598 | planstate->ps_ResultTupleSlot, |
| 599 | planstate, |
| 600 | inputDesc); |
| 601 | } |
| 602 | |
| 603 | |
| 604 | /* ---------------- |
no test coverage detected