Re: [GENERAL] Incorrect FTS result with GIN index - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] Incorrect FTS result with GIN index
Date
Msg-id 14531.1280420918@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Incorrect FTS result with GIN index  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> On Thu, 29 Jul 2010, Tom Lane wrote:
>> Yeah, that case works (though I think it's unnecessarily slow).  The one
>> that gives the wrong answer is the equivalent form with two AND'ed @@
>> operators.

> hmm, that query works too :)

There may be some platform dependency involved --- in particular, you
wouldn't see the issue unless one keystream has two nonlossy TIDs on the
same page as the other one has a lossy TID, so it's going to depend on
the placement of heap rows.  Anyway, I can reproduce it just by loading
the given dump, on both 8.4 and HEAD.  Will work on a fix.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: page corruption on 8.3+ that makes it to standby
Next
From: Pavel Stehule
Date:
Subject: Re: string_to_array has to be stable?