Re: websearch_to_tsquery() returns queries that don't match to_tsvector() - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Date
Msg-id CAPpHfdvjSSCrQREvdc487hQX4i0yx02N3-mHER7HsAsvPSuK+w@mail.gmail.com
Whole thread Raw
In response to Re: websearch_to_tsquery() returns queries that don't match to_tsvector()  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Next
From: Alexander Korotkov
Date:
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()