Rewrite OR indexscan processing to be more flexible. We can now for the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6cb1c0238b2503f485e3491902bfc294b7beeed1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-04T00:07:32Z
Releases: 8.0.0
Rewrite OR indexscan processing to be more flexible.  We can now for the
first time generate an OR indexscan for a two-column index when the WHERE
condition is like 'col1 = foo AND (col2 = bar OR col2 = baz)' --- before,
the OR had to be on the first column of the index or we'd not notice the
possibility of using it.  Some progress towards extracting OR indexscans
from subclauses of an OR that references multiple relations, too, although
this code is #ifdef'd out because it needs more work.

Files