Re: BUG #17125: Operator precedence bug in websearch_to_tsquery function

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #17125: Operator precedence bug in websearch_to_tsquery function
Дата
Msg-id CAKFQuwa2v2F9spFbJgnDey9pNtk-R3TOOAJ1VU6fGTD5=Mm4DQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #17125: Operator precedence bug in websearch_to_tsquery function  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #17125: Operator precedence bug in websearch_to_tsquery function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Tuesday, July 27, 2021, PG Bug reporting form <noreply@postgresql.org> wrote:

postgres=# select websearch_to_tsquery('english', 'foo bar or baz');
 websearch_to_tsquery
-----------------------
 'foo' & 'bar' | 'baz'
(1 row)

Expected: 'foo' & ('bar' | 'baz')


The documentation describes the operator precedence and it isn’t what you expect.



David J.

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: The case when AsyncAppend exists also in the qual of Async ForeignScan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17125: Operator precedence bug in websearch_to_tsquery function