The following bug has been logged online:

Bug reference:      3701
Logged by:          girla
Email address:      [EMAIL PROTECTED]
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[])"

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to