* Process subquery to extract useful information to be able to convert it to * a join. * * This scans the join tree, and verifies that it consists entirely of inner * joins. The inner joins can be represented as explicit JOIN_INNER JoinExprs* * or as FromExprs. All the join quals are collected in context->innerQual. * * context->safeToConvert must be 'true' on entry. This sets it to false i
| 216 | * there are any non-inner joins in the tree. |
| 217 | */ |
| 218 | static void |
| 219 | ProcessSubqueryToJoin(Query *subselect, ConvertSubqueryToJoinContext *context) |
| 220 | { |
| 221 | Assert(context); |
| 222 | Assert(context->safeToConvert); |
| 223 | Assert(subselect); |
| 224 | |
| 225 | ProcessSubqueryToJoin_walker((Node *) subselect->jointree, context); |
| 226 | } |
| 227 | |
| 228 | static void |
| 229 | ProcessSubqueryToJoin_walker(Node *jtree, ConvertSubqueryToJoinContext *context) |
no test coverage detected