I reproduce a problem with small script:
print <<EOT;
drop table if exists qq;
create table qq (
i int,
ii int[]
);
COPY qq FROM stdin;
EOT
for ($i=0;$i<1000000;$i++) {
print "$i\t{1}\n";
}
print <<EOT;
\\.
CREATE INDEX qqidx ON qq USING gin (ii);
DELETE FROM qq WHERE i>5000 and i<400000;
VACUUM FULL ANALYZE qq;
EOT
So, I'm digging now...
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/