Tweak planner so that index expressions and predicates are matched to
Tom Lane <tgl@sss.pgh.pa.us>
Tweak planner so that index expressions and predicates are matched to queries without regard to whether coercions are stated explicitly or implicitly. Per suggestion from Stephan Szabo.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/equalfuncs.c | modified | +4 −4 |
| src/backend/optimizer/util/clauses.c | modified | +36 −2 |
| src/backend/utils/cache/relcache.c | modified | +13 −1 |
| src/include/nodes/primnodes.h | modified | +2 −2 |
| src/include/optimizer/clauses.h | modified | +3 −1 |