MCPcopy Create free account
hub / github.com/apache/cloudberry / parseCheckTableFunctions

Function parseCheckTableFunctions

src/backend/parser/parse_func.c:2747–2755  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

2745 * In the full SQL Standard they can exist anywhere a multiset is supported.
2746 */
2747void
2748parseCheckTableFunctions(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
2757static bool
2758checkTableFunctions_walker(Node *node, check_table_func_context *context)

Callers 3

transformDeleteStmtFunction · 0.85
transformSelectStmtFunction · 0.85

Calls 1

query_tree_walkerFunction · 0.85

Tested by

no test coverage detected