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

Function fix_opfuncids

src/backend/nodes/nodeFuncs.c:1710–1715  ·  view source on GitHub ↗

* fix_opfuncids * Calculate opfuncid field from opno for each OpExpr node in given tree. * The given tree can be anything expression_tree_walker handles. * * The argument is modified in-place. (This is OK since we'd want the * same change for any node, even if it gets visited more than once due to * shared structure.) */

Source from the content-addressed store, hash-verified

1708 * shared structure.)
1709 */
1710void
1711fix_opfuncids(Node *node)
1712{
1713 /* This tree walk requires no special setup, so away we go... */
1714 fix_opfuncids_walker(node, NULL);
1715}
1716
1717static bool
1718fix_opfuncids_walker(Node *node, void *context)

Callers 10

expression_plannerFunction · 0.85
operator_predicate_proofFunction · 0.85
evaluate_exprFunction · 0.85
get_relation_statisticsFunction · 0.85
get_qual_for_rangeFunction · 0.85

Calls 1

fix_opfuncids_walkerFunction · 0.85

Tested by 1

operator_predicate_proofFunction · 0.68