BUG #3701: Don't work intarray GIN indexes - Mailing list pgsql-bugs

From girla
Subject BUG #3701: Don't work intarray GIN indexes
Date
Msg-id 200710261827.l9QIRMAK008516@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3701: Don't work intarray GIN indexes
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3701
Logged by:          girla
Email address:      girla@online.ua
PostgreSQL version: 8.3beta1
Operating system:   Windows XP Proffesional SP2
Description:        Don't work intarray GIN indexes
Details:

8.3beta1 never used intarray GIN indexes.

The same test case:

EXPLAIN
SELECT *
FROM   intarr
WHERE  (arr && ARRAY[132,20,78,45,457]);

on 8.2:
--------------------
"Bitmap Heap Scan on intarr  (cost=4.33..37.45 rows=10 width=64)"
"  Recheck Cond: (arr && '{132,20,78,45,457}'::integer[])"
"  ->  Bitmap Index Scan on i_arr_gin  (cost=0.00..4.33 rows=10 width=0)"
"        Index Cond: (arr && '{132,20,78,45,457}'::integer[])"


and on 8.3beta1:
---------------------
"Seq Scan on intarr  (cost=0.00..238.00 rows=10 width=58)"
"  Filter: (arr && '{132,20,78,45,457}'::integer[])"

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Possible planner bug/regression introduced in 8.2.5
Next
From: Chris Browne
Date:
Subject: Re: The PostgreSQL Data directory Must be on an NTFS formatted Volume