Re: BUG #8143: Backend segmentation fault in pg_trgm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8143: Backend segmentation fault in pg_trgm
Дата
Msg-id 9047.1368141560@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #8143: Backend segmentation fault in pg_trgm  (jroller@rjobrien.com)
Ответы Re: BUG #8143: Backend segmentation fault in pg_trgm
Список pgsql-bugs
jroller@rjobrien.com writes:
> We've come across a specific query and query plan that causes a repeatable
> segmentation fault on the postgresql backend.

Ah, I see it: gistrescan() is trying to preserve the per-scankey
fn_extra values to allow caching, but what it's doing does not work
if more than one scankey refers to the same consistentFn, ie, the
same index column.  A bit surprising we've not seen this before,
because I think that code has been like that for awhile.

Will fix, thanks for the report!

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Inconsistent PL error handling
Следующее
От: marc@bloodnok.com
Дата:
Сообщение: BUG #8144: Problem with rank window function and CTEs