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 48C79D1B46E for ; Fri, 19 Dec 2003 03:44:51 +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 29658-03 for ; Thu, 18 Dec 2003 23:44:05 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E2BEFD1B45A for ; Thu, 18 Dec 2003 23:44:00 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hBJ3i019006122; Thu, 18 Dec 2003 22:44:00 -0500 (EST) To: pg@fastcrypt.com Cc: Christopher Kings-Lynne , pgsql-performance@postgresql.org Subject: Re: is it possible to get the optimizer to use indexes In-reply-to: <1071803317.1629.16.camel@localhost.localdomain> References: <3FE1F5A1.6080908@geizhals.at> <60n09q9bqg.fsf@dev6.int.libertyrms.info> <1071789528.1629.10.camel@localhost.localdomain> <3FE256AA.8000707@familyhealth.com.au> <1071803317.1629.16.camel@localhost.localdomain> Comments: In-reply-to Dave Cramer message dated "18 Dec 2003 22:08:37 -0500" Date: Thu, 18 Dec 2003 22:44:00 -0500 Message-ID: <6121.1071805440@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/272 X-Sequence-Number: 5132 Dave Cramer writes: > after vacuum verbose analyze, I still get [a seqscan] The other gating factor is that you have to have initdb'd in C locale. Non-C locales tend to use wild and wooly sort orders that are not compatible with what LIKE needs. regards, tom lane