BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit

Поиск
Список
Период
Сортировка
От olaf.gw@googlemail.com
Тема BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit
Дата
Msg-id 20150128181243.2579.80775@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12694
Logged by:          Olaf Gawenda
Email address:      olaf.gw@googlemail.com
PostgreSQL version: 9.4.0
Operating system:   Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7
Description:

the following sequence of commands get a crash if the numer of result rows
is lower than gin_fuzzy_search_limit:

create table test (t text, ts_vec tsvector);

insert into test (t) values (),(),(), ...; -- test data not posted

update test set ts_vec = to_tsvector('english', t);

create index on test using gin(ts_vec);
analyze test;
set enable_seqscan = off;
set gin_fuzzy_search_limit = 1000;

select t from test where ts_vec @@ to_tsquery('english', '...');

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

Предыдущее
От: patrick@vanlaake.net
Дата:
Сообщение: BUG #12690: EXECUTE statement fails with dynamic column name on record variable
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: RLS bug?