Skip site navigation (1) Skip section navigation (2)

Re: AW: [HACKERS] OR clause status report

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Re: AW: [HACKERS] OR clause status report
Date: 1998-07-31 09:06:30
Message-ID: 35C18916.A3F55B0E@krs.ru (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-hackers by date

Next:From: Vince VielhaberDate: 1998-07-31 12:54:20
Subject: RE: [HACKERS] OR clause status report
Previous:From: Andreas ZeugswetterDate: 1998-07-31 08:51:43
Subject: AW: [HACKERS] OR clause status report

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group