X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 04BA98B9F91 for ; Mon, 14 Feb 2005 20:05:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59182-08 for ; Mon, 14 Feb 2005 20:04:56 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 008E08B9FFC for ; Mon, 14 Feb 2005 20:04:55 +0000 (GMT) Received: (qmail 22506 invoked from network); 14 Feb 2005 21:05:27 +0100 Received: from unknown (HELO musicbox) (boutiquenumerique-lists@192.168.0.2) by boutiquenumerique.com with SMTP; 14 Feb 2005 21:05:27 +0100 To: "Ivan Voras" , pgsql-performance@postgresql.org Subject: Re: String matching References: <421102A7.4090006@fer.hr> Message-ID: Date: Mon, 14 Feb 2005 21:08:39 +0100 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <421102A7.4090006@fer.hr> User-Agent: Opera M2/7.54u1 (Linux, build 892) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/212 X-Sequence-Number: 10541 normally you shouldn't have to do anything, it should just work : > select field from table where field like 'abc%' CREATE INDEX ... ON table( field ); that's all If it does not use the index, I saw on the mailing list that the locale could be an issue.