Re: BUG #4814: Segmentation fault when using indexed prefix FT search
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #4814: Segmentation fault when using indexed prefix FT search |
| Дата | |
| Msg-id | 7385.1242611957@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #4814: Segmentation fault when using indexed prefix FT search ("Dennis Noordsij" <dennis.noordsij@helsinki.fi>) |
| Список | pgsql-bugs |
"Dennis Noordsij" <dennis.noordsij@helsinki.fi> writes:
> create table foo ( ts tsvector not null );
> create index foo_idx on foo using gin(ts);
> insert into foo values (to_tsvector('Lore ipsum'));
> select * from foo where 'ipsu:*'::tsquery @@ ts;
> [crash]
Hmm. It rather looks to me like this
cmp = DatumGetInt32(FunctionCall4(&ginstate->comparePartialFn[attrnum],
should be this
cmp = DatumGetInt32(FunctionCall4(&ginstate->comparePartialFn[attrnum-1],
which leaves me with even less of a warm and fuzzy feeling about
matchPartialInPendingList() than I had before. How much has that code
been tested at all? It seems quite clear that it's not exercised by
any regression test ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера