Re: BUG #3767: tsearch2 index creation fatal crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3767: tsearch2 index creation fatal crash
Дата
Msg-id 23539.1195620792@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3767: tsearch2 index creation fatal crash  ("Thomas H." <me@alternize.com>)
Ответы Re: BUG #3767: tsearch2 index creation fatal crash  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
"Thomas H." <me@alternize.com> writes:
> i saw my mistake. i misinterpreted the examples to show the possibility
> to convert *any* text by using casting to tsvector as an alternative to
> using to_tsvector :)

Yeah, the examples in section 12.1.2 are not actually good practice:
both sides of the match should usually get normalized before comparison,
and these examples don't do that.

I'm not sure that putting in to_tsvector calls there would be an
improvement, though, since at that point we haven't introduced
to_tsvector.

Thoughts anyone?

            regards, tom lane

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

Предыдущее
От: "Thomas H."
Дата:
Сообщение: Re: BUG #3767: tsearch2 index creation fatal crash
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3767: tsearch2 index creation fatal crash