* parseCheckTableFunctions * * Check for TableValueExpr where they shouldn't be. Currently the only * valid location for a TableValueExpr is within a call to a table function. * In the full SQL Standard they can exist anywhere a multiset is supported. */
| 2745 | * In the full SQL Standard they can exist anywhere a multiset is supported. |
| 2746 | */ |
| 2747 | void |
| 2748 | parseCheckTableFunctions(ParseState *pstate, Query *qry) |
| 2749 | { |
| 2750 | check_table_func_context context; |
| 2751 | context.parent = NULL; |
| 2752 | query_tree_walker(qry, |
| 2753 | checkTableFunctions_walker, |
| 2754 | (void *) &context, 0); |
| 2755 | } |
| 2756 | |
| 2757 | static bool |
| 2758 | checkTableFunctions_walker(Node *node, check_table_func_context *context) |
no test coverage detected