Re: [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: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] OR clause status report
Date: 1998-07-31 14:30:47
Message-ID: 199807311430.KAA24630@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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 ?

Haven't gotten to that yet.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-07-31 14:32:58 Re: AW: [HACKERS] OR clause status report
Previous Message Vince Vielhaber 1998-07-31 14:05:14 Re: [HACKERS] OR clause status report