From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ivan Panchenko <ivan(at)xray(dot)sai(dot)msu(dot)ru>, Teodor Sigaev <teodor(at)stack(dot)net> |
Subject: | Re: strange update problem with 7.2.1 |
Date: | 2002-05-25 09:32:06 |
Message-ID: | Pine.GSO.4.44.0205251231430.29788-101000@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Sorry,
forget to attach file.
Oleg
On Sat, 25 May 2002, Oleg Bartunov wrote:
> Hi,
>
> we've got rather strange problem with updating and GiST indices.
> Below is a test run:
>
> drop table tst;
> create table tst ( a int[], i int );
> copy tst from stdin;
> ........
> \.
> create index tsti on tst using gist (a);
> vacuum full analyze;
>
>
> test=# update tst set i = i+10 where a && '{3,4}';
> UPDATE 3267
> test=# set enable_indexscan=off;
> SET VARIABLE
> test=# update tst set i = i+10 where a && '{3,4}';
> UPDATE 4060
> test=# select count(*) from tst where a && '{3,4}';
> count
> -------
> 4060
> (1 row)
>
> test=# select version();
> version
> ---------------------------------------------------------------
> PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.95.3
> (1 row)
>
> enabling gist indices cause some rows doesn't updating !
> Please find attached test sql script (need to install contrib/intarray module)
>
> Regards,
> Oleg
> _____________________________________________________________
> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
> Sternberg Astronomical Institute, Moscow University (Russia)
> Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83
>
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
Attachment | Content-Type | Size |
---|---|---|
test.sql.gz | application/octet-stream | 5.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2002-05-25 14:47:46 | pgstatindex |
Previous Message | Oleg Bartunov | 2002-05-25 09:31:04 | strange update problem with 7.2.1 |