Re: how to get index scan at work? - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: how to get index scan at work?
Date
Msg-id 20020419100955.A15437-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: how to get index scan at work?  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List 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 by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: how to get index scan at work?
Next
From: Jie Liang
Date:
Subject: Re: How to log outputs from pl/pgsql into a file ?