Creating case insensative Index

From: "Vince DiCiero" <vdiciero(at)home(dot)com>
To: "Postgresql General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Creating case insensative Index
Date: 1999-10-27 06:28:48
Message-ID: 000701bf2044$87ad26c0$3600a8c0@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am receiving the following errors on creating an index using lower() on a
varchar field

db1=> create index fieldindexlower on table1(lower(fieldvalue) varchar_ops);
ERROR: BuildFuncTupleDesc: function 'lower(varchar)' does not exist

Do I need to convert the field to "text" or are there other options ?

Thanks,
Vince

Browse pgsql-general by date

  From Date Subject
Next Message Edouard DESSIOUX 1999-10-27 08:10:58 A simple SQL command
Previous Message Mike Brickman 1999-10-27 06:17:00 Re: [GENERAL] Windows Server?