* convert_testexpr: convert the testexpr given by the parser into * actually executable form. This entails replacing PARAM_SUBLINK Params * with Params or Vars representing the results of the sub-select. The * nodes to be substituted are passed in as the List result from * generate_subquery_params or generate_subquery_vars. */
| 897 | * generate_subquery_params or generate_subquery_vars. |
| 898 | */ |
| 899 | Node * |
| 900 | convert_testexpr(PlannerInfo *root, |
| 901 | Node *testexpr, |
| 902 | List *subst_nodes) |
| 903 | { |
| 904 | convert_testexpr_context context; |
| 905 | |
| 906 | context.root = root; |
| 907 | context.subst_nodes = subst_nodes; |
| 908 | return convert_testexpr_mutator(testexpr, &context); |
| 909 | } |
| 910 | |
| 911 | static Node * |
| 912 | convert_testexpr_mutator(Node *node, |
no test coverage detected