Re: Arrays and index scan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schaber <schabi(at)logix-tt(dot)com>
Cc: PostgreSQL Performance List <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Arrays and index scan
Date: 2006-04-28 15:35:04
Message-ID: 1309.1146238504@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Markus Schaber <schabi(at)logix-tt(dot)com> 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Erik Myllymaki 2006-04-28 15:37:57 hardare config question
Previous Message Alan Hodgson 2006-04-28 15:02:59 Re: Why so slow?