OSDN Git Service

Further cleanup for OR-of-AND WHERE-clauses. orindxpath can now handle
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Feb 2000 18:26:09 +0000 (18:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Feb 2000 18:26:09 +0000 (18:26 +0000)
commit78296c2797cff799ccfee1332261340b685b4242
tree140df7986eed94296bb0c30adaa1db9418d28d46
parentdd14cd63beee8eca5646b41d16d39933d9a201ee
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 ...
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/orindxpath.c
src/include/optimizer/paths.h