X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F1D8A11F61B8 for ; Fri, 28 Apr 2006 12:35:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 47954-01 for ; Fri, 28 Apr 2006 12:35:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id ABF5D11F60E8 for ; Fri, 28 Apr 2006 12:35:07 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3SFZ41V001310; Fri, 28 Apr 2006 11:35:04 -0400 (EDT) To: Markus Schaber cc: PostgreSQL Performance List Subject: Re: Arrays and index scan In-reply-to: <44522AC3.6030707@logix-tt.com> References: <44522AC3.6030707@logix-tt.com> Comments: In-reply-to Markus Schaber message dated "Fri, 28 Apr 2006 16:46:27 +0200" Date: Fri, 28 Apr 2006 11:35:04 -0400 Message-ID: <1309.1146238504@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/674 X-Sequence-Number: 18758 Markus Schaber writes: > However, the query planner seems to refuse to make index scans even with > 8.1: > testdb=# EXPLAIN SELECT * from streets WHERE link_id = ANY(ARRAY[1,2,3]); Yup, that was just done in HEAD a couple months ago. regards, tom lane