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 CAPpHfdvUe9jx8N-TgOwPfAFyZFOgbW83LsytR5kyUqP8OxAwYA@mail.gmail.com
Whole thread Raw
In response to Re: websearch_to_tsquery() returns queries that don't match to_tsvector()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, May 2, 2021 at 9:37 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

OK, thank you for review!

------
Regards,
Alexander Korotkov



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Next
From: Chapman Flack
Date:
Subject: pg_upgrade not preserving comments on predefined roles