X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 49F6AD1B896 for ; Thu, 20 May 2004 02:19:49 -0300 (ADT) 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 78324-04 for ; Thu, 20 May 2004 02:19:29 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id E05D2D1DD0F for ; Thu, 20 May 2004 02:19:28 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i4K5JSSx025148 for ; Thu, 20 May 2004 05:19:28 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i4K4nhSm016361 for pgsql-performance@postgresql.org; Thu, 20 May 2004 04:49:43 GMT From: Joseph Shraibman X-Newsgroups: comp.databases.postgresql.performance Subject: Re: PostgreSQL performance in simple queries Date: Thu, 20 May 2004 00:49:43 -0400 Organization: Hub.Org Networking Services Lines: 7 Message-ID: References: <1117434122.20040520000757@mail.ru> <40ABD6CC.3070206@samurai.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en In-Reply-To: <40ABD6CC.3070206@samurai.com> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/169 X-Sequence-Number: 7000 Neil Conway wrote: > PostgreSQL (< 7.5) won't consider using an indexscan when the predicate > involves an integer literal and the column datatype is int2 or int8. Is this fixed for 7.5? It isn't checked off on the TODO list at http://developer.postgresql.org/todo.php