* 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. */
| 1739 | * DistinctExpr and NullIfExpr nodes. |
| 1740 | */ |
| 1741 | void |
| 1742 | set_opfuncid(OpExpr *opexpr) |
| 1743 | { |
| 1744 | if (opexpr->opfuncid == InvalidOid) |
| 1745 | opexpr->opfuncid = get_opcode(opexpr->opno); |
| 1746 | } |
| 1747 | |
| 1748 | /* |
| 1749 | * set_sa_opfuncid |
no test coverage detected