Re: uppercase = lowercase

From: Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>
To: Ken Guest <kguest(at)stockbyte(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: uppercase = lowercase
Date: 2003-02-14 15:08:37
Message-ID: 20030214150837.52076.qmail@web20801.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--- Oliver Elphick <olly(at)lfix(dot)co(dot)uk> wrote:
> On Fri, 2003-02-14 at 11:20, Ken Guest wrote:
> > Is it truly possible to create an index on lets
> say upper(last_name)?
>
> CREATE INDEX uppername_index ON mytable
> (upper(last_name));
>
Unless something has changed, I believe that the
"upper" statement would need to be wrapped in a
function marked "immutable". Otherwise the index
would not be used.

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Guest 2003-02-14 15:14:19 natural sort order
Previous Message Egyud Csaba 2003-02-14 15:06:45 Re: set returning functions in v7.3 - SORRY