Re: Should phraseto_tsquery('simple', 'blue blue') @@ to_tsvector('simple', 'blue') be true ?

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Should phraseto_tsquery('simple', 'blue blue') @@ to_tsvector('simple', 'blue') be true ?
Дата
Msg-id 576188AF.400@sigaev.ru
обсуждение исходный текст
Ответ на Re: Should phraseto_tsquery('simple', 'blue blue') @@ to_tsvector('simple', 'blue') be true ?  (Oleg Bartunov <obartunov@gmail.com>)
Список pgsql-hackers
> We need to reach a consensus here, since there is no way to say "I don't know".
> I inclined to agree with you, that returning false is better in such a
> case.That will
> indicate user to the source of problem.

Here is a patch, now phrase operation returns false if there is not postion
information. If this behavior looks more reasonable, I'll commit that.


--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Вложения

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

Предыдущее
От: Imre Samu
Дата:
Сообщение: Re: pg_isready features
Следующее
От: Jimmy
Дата:
Сообщение: Re: pg_isready features