Re: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit |
| Дата | |
| Msg-id | 4773.1422545177@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #12694: crash if the number of result rows is lower than gin_fuzzy_search_limit (Heikki Linnakangas <hlinnakangas@vmware.com>) |
| Ответы |
Re: BUG #12694: crash if the number of result rows is lower
than gin_fuzzy_search_limit
|
| Список | pgsql-bugs |
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> The fix is simple: make sure that startScanKey() is always called, by
> getting rid of the early return above. Attached. I'll apply this later
> today or tomorrow unless someone sees a problem with this.
Another, even simpler fix would be to just move the startScanKey()
call loop to before the "if (GinFuzzySearchLimit > 0)" block.
Is there a particular reason why it's a good idea to do things in
the current order? It almost looks like a patch application error
as it stands.
With either fix, I concur that we should back-patch it. It's not at all
clear how come older branches don't fail because of this.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера