Noah Misch <noah(at)leadboat(dot)com> writes:
> On Sat, Oct 15, 2011 at 02:58:45PM -0400, Tom Lane wrote:
>> [algorithm for a regular index scan satisfying "key IN (...)"]
> Sounds sensible. The algorithm applies to more than ScalarArrayOpExpr; is it
> not the ability to handle an OR'ed list of ScanKey instead of an AND'ed one?
No, because it's restricted to all the elements having the same operator
and same index column; it's not a generic OR.
regards, tom lane