Re: Avoiding empty queries in tsearch

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Avoiding empty queries in tsearch
Дата
Msg-id 45ABAC13.6090907@sigaev.ru
обсуждение исходный текст
Ответ на Avoiding empty queries in tsearch  ("Doug Cole" <doug@shackprices.com>)
Ответы Re: Avoiding empty queries in tsearch  ("Doug Cole" <doug@shackprices.com>)
Список pgsql-general
contrib_regression=# select numnode( plainto_tsquery('the any') );
NOTICE:  query contains only stopword(s) or doesn't contain lexeme(s), ignored
  numnode
---------
        0
(1 row)

contrib_regression=# select numnode( plainto_tsquery('the table') );
  numnode
---------
        1
(1 row)

contrib_regression=# select numnode( plainto_tsquery('long table') );
  numnode
---------
        3
(1 row)


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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unpredicatable behavior of volatile functions used
Следующее
От: "Ardian Xharra"
Дата:
Сообщение: Re: Why the data changes it's value by itself!