Adjust OR indexscan logic to not generate redundant condition-free OR
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/path/orindxpath.c | modified | +8 −4 |