Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
| От | Zhihong Yu |
|---|---|
| Тема | Re: websearch_to_tsquery() returns queries that don't match to_tsvector() |
| Дата | |
| Msg-id | CALNJ-vSvfzm=cjgqwOxK7K-YqFnfC5-om7=QRF7B=4tDNqvgeg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: websearch_to_tsquery() returns queries that don't match to_tsvector() (Alexander Korotkov <aekorotkov@gmail.com>) |
| Ответы |
Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
|
| Список | pgsql-hackers |
On Sun, May 2, 2021 at 11:12 AM Alexander Korotkov <aekorotkov@gmail.com> wrote:
On Sun, May 2, 2021 at 9:06 PM Zhihong Yu <zyu@yugabyte.com> wrote:
> + /* Everything is quotes is processed as a single token */
>
> is quotes -> in quotes
>
> + /* iterate to the closing quotes or end of the string*/
>
> closing quotes -> closing quote
>
> + /* or else ƒtsvector() will raise an error */
>
> The character before tsvector() seems to be special.
Thank you for catching. Fixed in v3.
------
Regards,
Alexander Korotkov
Hi,
One minor comment:
+ /* iterate to the closing quotes or end of the string*/
closing quotes -> closing quote
Cheers
В списке pgsql-hackers по дате отправления: