Further cleanup for OR-of-AND WHERE-clauses. orindxpath can now handle
Tom Lane <tgl@sss.pgh.pa.us>
Further cleanup for OR-of-AND WHERE-clauses. orindxpath can now handle extracting from an AND subclause just those opclauses that are relevant for a particular index. For example, we can now consider using an index on x to process WHERE (x = 1 AND y = 2) OR (x = 2 AND y = 4) OR ...
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/path/indxpath.c | modified | +68 −34 |
| src/backend/optimizer/path/orindxpath.c | modified | +22 −20 |
| src/include/optimizer/paths.h | modified | +12 −8 |