Re: strange update problem with 7.2.1 - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: strange update problem with 7.2.1
Date
Msg-id 3CF0C466.1040706@stack.net
Whole thread Raw
In response to Re: strange update problem with 7.2.1  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: strange update problem with 7.2.1  (Oleg Bartunov <oleg@sai.msu.su>)
Re: strange update problem with 7.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: strange update problem with 7.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Yeah, but the update case is inserting more entries into the index.
> I'm wondering if that causes the index scan's state to get corrupted
> so that it misses scanning some entries.  btree has a carefully designed
> algorithm to cope with this, but I have no idea how gist manages it.


Thank you, Tom. You give me a direction for looking. Attached patch fix
the problem with broken state. Please apply it for 7.2.2 and current cvs
(sorry,
but I'll have a possibility to check it on current cvs only tomorrow).



--
Teodor Sigaev
teodor@stack.net

Attachment

pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: COPY and views
Next
From: Oleg Bartunov
Date:
Subject: Re: strange update problem with 7.2.1