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 EBCA43A453D for ; Thu, 18 Nov 2004 01:58:01 +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 95990-08 for ; Thu, 18 Nov 2004 01:57:55 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 44CB73A4523 for ; Thu, 18 Nov 2004 01:57:58 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iAI1viCR011477; Wed, 17 Nov 2004 20:57:44 -0500 (EST) To: josh@agliodbs.com Cc: pgsql-performance@postgresql.org, "Jim C. Nasby" , Simon Riggs , David Brown Subject: Re: Analyzer is clueless In-reply-to: <200411171741.16515.josh@agliodbs.com> References: <20041117160824.B694D3A3ECC@svr1.postgresql.org> <1100730768.4113.7709.camel@localhost.localdomain> <20041118002008.GL80532@decibel.org> <200411171741.16515.josh@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Wed, 17 Nov 2004 17:41:16 -0800" Date: Wed, 17 Nov 2004 20:57:44 -0500 Message-ID: <11476.1100743064@sss.pgh.pa.us> From: Tom Lane 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: 200411/274 X-Sequence-Number: 9228 >> I've seen cases where it seems the >> planer doesn't think it'll be getting a unique value or a small set of >> values even though stats indicates that it should be. A test case exhibiting the problem would be helpful. regards, tom lane