From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
Cc: Teodor Sigaev <teodor@postgrespro.ru>
Cc: Oleg Bartunov <obartunov@postgrespro.ru>
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
Date: Sun, 02 May 2021 13:52:27 -0400
Message-ID: <3712260.1619977947@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPpHfdsKy5TzOTq5aV8tn+KQEd_C5mF0Sd_BrZ0e3+wGY5tLFw@mail.gmail.com>
References: <CA+0DEqiZs7gdOd4ikmg=0UWG+SwWOLxPsk_JW-sx9WNOyrb0KQ@mail.gmail.com>
<CAPpHfdsKy5TzOTq5aV8tn+KQEd_C5mF0Sd_BrZ0e3+wGY5tLFw@mail.gmail.com>
Alexander Korotkov <aekorotkov@gmail.com> writes:
> It seems there is another bug with phrase search and query parsing.
> It seems to me that since 0c4f355c6a websearch_to_tsquery() should
> just parse text in quotes as a single token. Besides fixing this bug,
> it simplifies the code.
OK ...
> Trying to fix this bug before 0c4f355c6a doesn't seem to worth the efforts.
Agreed, plus it doesn't sound like the sort of behavior change that
we want to push out in minor releases.
> I propose to push the attached patch to v14. Objections?
This patch seems to include some unrelated fooling around in GiST?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, aekorotkov@gmail.com, pgsql-hackers@lists.postgresql.org, valentin.gatienbaron@gmail.com, teodor@postgrespro.ru, obartunov@postgrespro.ru
Subject: Re: websearch_to_tsquery() returns queries that don't match to_tsvector()
In-Reply-To: <3712260.1619977947@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox