Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C27329FB510 for ; Fri, 16 Feb 2007 14:33:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 14117-02 for ; Fri, 16 Feb 2007 14:32:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id 836AA9FB4ED for ; Fri, 16 Feb 2007 14:32:58 -0400 (AST) Received: from trofast.ipv6.sesse.net ([2001:700:300:1803:20e:cff:fe36:a766] helo=trofast.sesse.net) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1HI7tA-0001hn-8A for pgsql-performance@postgresql.org; Fri, 16 Feb 2007 19:32:56 +0100 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1HI7sK-0001sg-00 for ; Fri, 16 Feb 2007 19:32:04 +0100 Date: Fri, 16 Feb 2007 19:32:04 +0100 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Not Picking Index Message-ID: <20070216183204.GA7200@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <7e4ba9550702160456m6e86e809oc35dd68620348c80@mail.gmail.com> <20070216142804.GA44536@winnie.fuhr.org> <7e4ba9550702160631j5b428addr199bd87bd0704dc3@mail.gmail.com> <1171650466.25466.10.camel@dba5.int.libertyrms.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1171650466.25466.10.camel@dba5.int.libertyrms.com> X-Operating-System: Linux 2.6.19 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200702/188 X-Sequence-Number: 23242 On Fri, Feb 16, 2007 at 01:27:46PM -0500, Brad Nicholson wrote: > If the indexed field is an intger, add 0 to it. Won't that also invalidate the statistics? /* Steinar */ -- Homepage: http://www.sesse.net/