Re: websearch_to_tsquery() returns queries that don't match to_tsvector()

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Zhihong Yu <zyu(at)yugabyte(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Valentin Gatien-Baron <valentin(dot)gatienbaron(at)gmail(dot)com>, Teodor Sigaev <teodor(at)postgrespro(dot)ru>, Oleg Bartunov <obartunov(at)postgrespro(dot)ru>
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Date: 2021-05-02 18:19:26
Message-ID: CAPpHfdt5T_+tcoEQ5Rv+bQAj+micN6=Dz9nNdn8eQL8KwML2JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Sun, May 2, 2021 at 9:17 PM Zhihong Yu <zyu(at)yugabyte(dot)com> wrote:
> One minor comment:
> + /* iterate to the closing quotes or end of the string*/
>
> closing quotes -> closing quote

Yep, I've missed the third place to change from plural to single form :)

------
Regards,
Alexander Korotkov

Attachment Content-Type Size
0001-Make-websearch_to_tsquery-parse-text-in-quotes-as-v4.patch application/octet-stream 6.5 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Zhihong Yu 2021-05-02 18:21:14 Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Previous Message Alexander Korotkov 2021-05-02 18:12:44 Re: websearch_to_tsquery() returns queries that don't match to_tsvector()

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhihong Yu 2021-05-02 18:21:14 Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Previous Message Alexander Korotkov 2021-05-02 18:12:44 Re: websearch_to_tsquery() returns queries that don't match to_tsvector()