Re: how to get index scan at work?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: how to get index scan at work?
Дата
Msg-id 20020419100955.A15437-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: how to get index scan at work?  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Список pgsql-sql
On Fri, 19 Apr 2002, Rajesh Kumar Mallah wrote:

> btw i could not create the index the way you suggested
>
> regds
>
> tradein_clients=> CREATE UNIQUE  INDEX  email_bank_case_insen on
> LOWER(email_bank(email));
> ERROR:  DefineIndex: relation "lower" not found
> tradein_clients=>

It actually should be:
create index email_bank_case_insen on email_bank(lower(email));

And that should allow
lower(email)='<string>'
to be indexable.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: how to get index scan at work?
Следующее
От: Jie Liang
Дата:
Сообщение: Re: How to log outputs from pl/pgsql into a file ?