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

From Tom Lane
Subject Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Date
Msg-id 3714272.1619980676@sss.pgh.pa.us
Whole thread Raw
In response to Re: websearch_to_tsquery() returns queries that don't match to_tsvector()  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
List pgsql-hackers
Alexander Korotkov <aekorotkov@gmail.com> writes:
> On Sun, May 2, 2021 at 9:04 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> -       state.in_quotes = false;
>> 
>> This change seems wrong/unsafe too.

> It seems OK, because this patch removes in_quotes field altogether.

Oh, sorry, I misread the patch --- I thought that earlier hunk
was removing a local variable.  Agreed, if you can do without this
state field altogether, that's fine.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Zhihong Yu
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()