Re: BUG #15150: Reading uninitialised value in NISortAffixes(tsearch/spell.c)

Поиск
Список
Период
Сортировка
От Arthur Zakirov
Тема Re: BUG #15150: Reading uninitialised value in NISortAffixes(tsearch/spell.c)
Дата
Msg-id 20180413190529.GA6210@arthur.localdomain
обсуждение исходный текст
Ответ на Re: BUG #15150: Reading uninitialised value in NISortAffixes (tsearch/spell.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, Apr 13, 2018 at 01:51:00PM -0400, Tom Lane wrote:
> > I attached the patch. It fixes the following:
> > - show an error if actual number of affix aliases is greater than
> >   initial number. I wonder is it necessary. But I think it is better to
> >   raise an error than crash, if you set wrong number for AF flag.
> 
> Good idea, but I tweaked the message wording a bit.
> 
> > The code coverage still isn't 100% for spell.c. But it is better than
> > earlier.
> 
> Indeed.  Pushed, thanks!

Thank you!

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15150: Reading uninitialised value in NISortAffixes (tsearch/spell.c)
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15155: table_to_xmlschema() ignores string restriction whengenerating XSD