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 51E135E46FE for ; Thu, 26 Aug 2004 07:17:42 -0300 (ADT) 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 86260-06 for ; Thu, 26 Aug 2004 10:17:41 +0000 (GMT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id 066885E46FA for ; Thu, 26 Aug 2004 07:17:32 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 1C0HK2-000Gmh-0X; Thu, 26 Aug 2004 10:17:35 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 70FD217949; Thu, 26 Aug 2004 11:17:34 +0100 (BST) Message-ID: <412DB8BE.9060106@archonet.com> Date: Thu, 26 Aug 2004 11:17:34 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dennis Bjorklund Cc: David Price , pgsql-performance@postgresql.org Subject: Re: Optimizer Selecting Incorrect Index References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/357 X-Sequence-Number: 7993 Dennis Bjorklund wrote: > On Wed, 25 Aug 2004, Richard Huxton wrote: >> >>These queries are different. The first returns 687 rows and the second >>713 rows. > > > The 687 and 713 are the number of rows in the plan, not the number of rows > the queries return. D'OH! Thanks Dennis -- Richard Huxton Archonet Ltd