* Call ExecInitExpr() on a list of expressions, return a list of ExprStates. */
| 327 | * Call ExecInitExpr() on a list of expressions, return a list of ExprStates. |
| 328 | */ |
| 329 | List * |
| 330 | ExecInitExprList(List *nodes, PlanState *parent) |
| 331 | { |
| 332 | List *result = NIL; |
| 333 | ListCell *lc; |
| 334 | |
| 335 | foreach(lc, nodes) |
| 336 | { |
| 337 | Expr *e = lfirst(lc); |
| 338 | |
| 339 | result = lappend(result, ExecInitExpr(e, parent)); |
| 340 | } |
| 341 | |
| 342 | return result; |
| 343 | } |
| 344 | |
| 345 | /* |
| 346 | * ExecBuildProjectionInfo |
no test coverage detected