Re: tsvector concatenation - backend crash

Поиск
Список
Период
Сортировка
От jesper@krogh.cc
Тема Re: tsvector concatenation - backend crash
Дата
Msg-id 6483dcb7f8e58b8b4f4a503cdc9c02a1.squirrel@shrek.krogh.cc
обсуждение исходный текст
Ответ на tsvector concatenation - backend crash  (Jesper Krogh <jesper@krogh.cc>)
Ответы Re: tsvector concatenation - backend crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Hi
>
> Attached SQL files gives (at least in my hands) a reliable backend crash
> with this stacktrace .. reproduced on both 9.0.4 and HEAD. I'm sorry
> I cannot provide a more trimmed down set of vectors the reproduces the
> bug, thus
> the "obsfucated" dataset. But even deleting single terms in the vectors
> make
> the bug go away.

Ok, I found 8.3.0 to be "good" so i ran a git bisect on it.. it gave
me this commit:

e6dbcb72fafa4031c73cc914e829a6dec96ab6b6 is the first bad commit
commit e6dbcb72fafa4031c73cc914e829a6dec96ab6b6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Fri May 16 16:31:02 2008 +0000

    Extend GIN to support partial-match searches, and extend tsquery to
support
    prefix matching using this facility.

    Teodor Sigaev and Oleg Bartunov

:040000 040000 febf59ba02bcd4ce3863e880c6bbd989e0b7b1d2
5e96383e628dd27b5c68b0186af18f80fb7ef129 M    doc
:040000 040000 b920deca6f074b83dd5d2bd0446785a23019d11a
3f10e54cdeac63129f34865adcadf34ff74ff9a8 M    src
bisect run success

Which means that 8.3 releases are OK, but 8.4 and forward has the problem.

Which at least touches the same area.. the patch is allthogh over 3K lines,
and my C-skills are not "that good".

Attached is the git bisect script.. just for the archives.

Jesper
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: Re: [v9.1] sepgsql - userspace access vector cache
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Questions and experiences writing a Foreign Data Wrapper