Re: AW: [HACKERS] OR clause status report - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: AW: [HACKERS] OR clause status report
Date
Msg-id 35C18916.A3F55B0E@krs.ru
Whole thread Raw
In response to AW: [HACKERS] OR clause status report  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
Responses Re: AW: [HACKERS] OR clause status report  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Andreas Zeugswetter wrote:
>
> Vadim wrote:
> >Bruce Momjian wrote:
> >>
> >> I have succeeded in making OR clauses use indexes.  I have not dealt
> >> with some of the more complex issues like x=3 or y=5 as Vadim mentioned,
> >> but at least it works.
> >>
> >>         test=> select * from test where x=102532 or x=102533;
> >
> >But did you care about the case when two indices (on test(x) and
> >on test(y)) exist ?
>
> Do you mean using two indices in one access plan, or the decision which index to use ?
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This.

Vadim

pgsql-hackers by date:

Previous
From: Andreas Zeugswetter
Date:
Subject: AW: [HACKERS] OR clause status report
Next
From: Vince Vielhaber
Date:
Subject: RE: [HACKERS] OR clause status report