BUG #17125: Operator precedence bug in websearch_to_tsquery function

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17125: Operator precedence bug in websearch_to_tsquery function
Дата
Msg-id 17125-483838072f5f4bac@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17125: Operator precedence bug in websearch_to_tsquery function  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17125
Logged by:          Tim Connolly
Email address:      tim.connolly@oovvuu.com
PostgreSQL version: 11.12
Operating system:   Alpine Linux
Description:

Expectation: A web-search query of 'foo bar or baz' should match documents
that contain 'foo' and 'bar', and documents that contain 'foo' and 'baz'.


postgres=# select to_tsvector('english', 'baz') @@
websearch_to_tsquery('english', 'foo bar or baz ');
 ?column?
----------
 t
(1 row)

Expected: f

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

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


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: BUG #17066: Cache lookup failed when null (iso-8859-1) is passed as anycompatiblemultirange
Следующее
От: Orishich Aleksey
Дата:
Сообщение: RE: Postgresql12: ERROR: Could not read from file "pg_act/02 F 4" at offset 253952: read too few bytes