Re: Best way to use indexes for partial match at

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Best way to use indexes for partial match at
Дата
Msg-id 200511101829.39512.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Best way to use indexes for partial match at  ("Andrus" <eetasoft@online.ee>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Best way to use indexes for partial match at
Следующее
От: David Rysdam
Дата:
Сообщение: I must not understand the permissions system