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

From Tom Lane
Subject Re: strange update problem with 7.2.1
Date
Msg-id 27735.1022536448@sss.pgh.pa.us
Whole thread Raw
In response to Re: strange update problem with 7.2.1  (Teodor Sigaev <teodor@stack.net>)
List pgsql-hackers
Teodor Sigaev <teodor@stack.net> writes:
>> 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.

> Thank you, Tom. You give me a direction for looking. Attached patch fix
> the problem with broken state.

Hmm, is this patch really correct?  Removing the gistadjscans() call
from gistSplit seems wrong to me --- won't that miss reporting splits
on leaf pages?  Or does this not matter for some reason?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: is there any backend timeout undocumented?
Next
From: Manfred Koizar
Date:
Subject: Re: is there any backend timeout undocumented?