Re: Best way to use indexes for partial match at - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Best way to use indexes for partial match at
Date
Msg-id 200511101829.39512.peter_e@gmx.net
Whole thread Raw
In response to Re: Best way to use indexes for partial match at  ("Andrus" <eetasoft@online.ee>)
List pgsql-general
Andrus wrote:
> Can Postgres use index
>
> CREATE UNIQUE INDEX foo_bar ON foo(bar bpchar_pattern_ops);
>
> in usual WHERE expressions just like regular index ?
>
> I.e can
>
> SELECT * FROM foo WHERE bar='123'
>
> use index foo_bar ?

I think in the time it took you to write this email you could have typed
in those lines into psql and found out yourself.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Best way to use indexes for partial match at
Next
From: David Rysdam
Date:
Subject: I must not understand the permissions system