[GENERAL] tsquery error

Поиск
Список
Период
Сортировка
От Stephen Davies
Тема [GENERAL] tsquery error
Дата
Msg-id b690d36e-337e-542a-0d6c-4114192b8902@sdc.com.au
обсуждение исходный текст
Ответы Re: [GENERAL] tsquery error
Список pgsql-general
The following query give the error:

select
id,title,dtype,source,used_for,ts_headline('english',content,to_tsquery('english','
ma waterflux'),'minWords = 99, maxWords = 999') from info where  clob @@
to_tsquery('english',' ma waterflux') order by title,dtype,source,used_for;
ERROR:  syntax error in tsquery: " ma waterflux"

Remove either the "ma" or the "waterflux" and the query works.

What is causing the error?

(MA Waterflux is a product name.)

Cheers and thanks,
Stephen



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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: [GENERAL] How to handle simultaneous FOR-IN UPDATE-RETURNING loops?
Следующее
От: Krithika Venkatesh
Дата:
Сообщение: [GENERAL] Materialised view - refresh