Received: from nghost.nghsecure.com (nghost.nghsecure.com [209.197.234.4]) by postgresql.org (Postfix) with ESMTP id 03C5D4758A7 for ; Thu, 11 Jul 2002 12:33:36 -0400 (EDT) Received: from cpe000094c6dc29.cpe.net.cable.rogers.com ([24.112.105.164] helo=broadswd) by nghost.nghsecure.com with asmtp (Exim 3.35 #1) id 17Sgtq-0004q7-00; Thu, 11 Jul 2002 12:34:38 -0400 From: "Arguile" To: Cc: "ktt" Subject: Re: Disabling case sensitivity Date: Thu, 11 Jul 2002 12:33:35 -0400 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20020711092047.U63911-100000@megazone23.bigpanda.com> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nghost.nghsecure.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - lucentstudios.com X-AntiAbuse: Authenticated User - arguile X-Archive-Number: 200207/661 X-Sequence-Number: 27148 Stephan Szabo wrote: > > On Thu, 11 Jul 2002, ktt wrote: > > > > > That's a problem, because I building > > a UNICODE text database and planning case insensitive > > search. > > You can do case insensitive searches as long as you're > willing to use something other than var=literal (such > as tolower(var)=lowerliteral or tolower(var)=tolower(literal) > or var ILIKE literal). > If your general search is case insensitive, remeber you can use functional indices to improve performance. CREATE INDEX foo ON bar( upper(qux) );