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