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

Function set_opfuncid

src/backend/nodes/nodeFuncs.c:1741–1746  ·  view source on GitHub ↗

* set_opfuncid * Set the opfuncid (procedure OID) in an OpExpr node, * if it hasn't been set already. * * Because of struct equivalence, this can also be used for * DistinctExpr and NullIfExpr nodes. */

Source from the content-addressed store, hash-verified

1739 * DistinctExpr and NullIfExpr nodes.
1740 */
1741void
1742set_opfuncid(OpExpr *opexpr)
1743{
1744 if (opexpr->opfuncid == InvalidOid)
1745 opexpr->opfuncid = get_opcode(opexpr->opno);
1746}
1747
1748/*
1749 * set_sa_opfuncid

Callers 11

fix_opfuncids_walkerFunction · 0.85
check_functions_in_nodeFunction · 0.85
fix_expr_commonFunction · 0.85
process_equivalenceFunction · 0.85
cost_qual_eval_walkerFunction · 0.85

Calls 1

get_opcodeFunction · 0.85

Tested by

no test coverage detected