X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A20DAD1B43E for ; Thu, 18 Dec 2003 23:19:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01372-09 for ; Thu, 18 Dec 2003 19:19:10 -0400 (AST) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id F3D73D1B459 for ; Thu, 18 Dec 2003 19:19:06 -0400 (AST) Received: (qmail 13026 invoked from network); 18 Dec 2003 23:18:49 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 18 Dec 2003 23:18:49 -0000 Subject: is it possible to get the optimizer to use indexes with a like clause From: Dave Cramer Reply-To: pg@fastcrypt.com To: pgsql-performance@postgresql.org In-Reply-To: <60n09q9bqg.fsf@dev6.int.libertyrms.info> References: <3FE1F5A1.6080908@geizhals.at> <60n09q9bqg.fsf@dev6.int.libertyrms.info> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1071789528.1629.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 18 Dec 2003 18:18:48 -0500 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/267 X-Sequence-Number: 5127 It appears that the optimizer only uses indexes for = clause? Dave