Adjust OR indexscan logic to not generate redundant condition-free OR
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Mar 2005 01:40:05 +0000 (01:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Mar 2005 01:40:05 +0000 (01:40 +0000)
commit95871703e395889fd371ce6604b68617d33b32a4
treefc598ea43c7639f1a08bc8537f33f4fc65eefe5d
parent295dd338c37f9b9710c25c421bbc2f366ec6d94f
Adjust OR indexscan logic to not generate redundant condition-free OR
indexscans involving partial indexes.  These would always be dominated
by a simple indexscan on such an index, so there's no point in considering
them.  Fixes overoptimism in a patch I applied last October.
src/backend/optimizer/path/orindxpath.c