-
- Downloads
Remove bogus code in oper_exact --- if it didn't find an exact
match then it tried for a self-commutative operator with the reversed input data types. This is pretty silly; there could never be such an operator, except maybe in binary-compatible-type scenarios, and we have oper_inexact for that. Besides which, the oprsanity regress test would complain about such an operator. Remove nonfunctional code and simplify routine calling convention accordingly.
Showing
- src/backend/parser/parse_node.c 13 additions, 33 deletionssrc/backend/parser/parse_node.c
- src/backend/parser/parse_oper.c 16 additions, 67 deletionssrc/backend/parser/parse_oper.c
- src/include/parser/parse_node.h 3 additions, 1 deletionsrc/include/parser/parse_node.h
- src/include/parser/parse_oper.h 1 addition, 4 deletionssrc/include/parser/parse_oper.h
Please register or sign in to comment