pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: Thomas Swan <tswan@olemiss.edu>
Cc: PostgResql SQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: how to get index scan at work?
Date: Fri, 19 Apr 2002 10:12:04 -0700 (PDT)
Message-ID: <20020419100955.A15437-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3CC046D4.B7F972A7@trade-india.com>


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.




view thread (4+ messages)

Message-ID: <20020419100955.A15437-100000@megazone23.bigpanda.com>
Permalink:  ../20020419100955.A15437-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020419100955.A15437-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, mallah@trade-india.com, tswan@olemiss.edu
  Subject: Re: how to get index scan at work?
  In-Reply-To: <20020419100955.A15437-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox