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

Re: AW: [HACKERS] OR clause status report

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)krs(dot)ru (Vadim Mikheev)
Cc: andreas(dot)zeugswetter(at)telecom(dot)at, hackers(at)postgreSQL(dot)org
Subject: Re: AW: [HACKERS] OR clause status report
Date: 1998-07-31 14:32:58
Message-ID: 199807311432.KAA24669@candle.pha.pa.us (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.

Yes.  I still need to run some tests.  Just wanted people to know I had
gotten the trivial case working so far.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

pgsql-hackers by date

Next:From: Vadim MikheevDate: 1998-07-31 15:04:27
Subject: Re: [HACKERS] OR clause status report
Previous:From: Bruce MomjianDate: 1998-07-31 14:30:47
Subject: Re: [HACKERS] OR clause status report

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