Re: new function for tsquery creartion
Aleksandr Parfenov <a.parfenov@postgrespro.ru>
From: Aleksandr Parfenov <a.parfenov@postgrespro.ru>
To: Dmitry Ivanov <d.ivanov@postgrespro.ru>
Cc: David Steele <david@pgmasters.net>, Aleksander Alekseev
<a.alekseev@postgrespro.ru>, pgsql-hackers@lists.postgresql.org
Date: 2018-03-26T06:24:05Z
Lists: pgsql-hackers
On Thu, 22 Mar 2018 16:53:15 +0300 Dmitry Ivanov <d.ivanov@postgrespro.ru> wrote: > Hi David, > > I'd like to take over from Victor. I'll post a revised version of the > patch in a couple of days. > Hi Dmitry, Recently I worked with the old version of the patch and found a bug. So, I think it is better to notify you immediately, so you can fix it in rebased/revised version. I noticed, that operator AROUND(N) works only in case of non-negative operands. If any of the operands is negative, it behaves as phrase operator <N>. It is caused by lack of TS_NOT_EXAC flag and AROUND(N) operator check in function TS_phrase_execute in branches for negated operands. -- Aleksandr Parfenov Postgres Professional: http://www.postgrespro.com Russian Postgres Company
Commits
-
Add websearch_to_tsquery
- 1664ae1978bf 11.0 landed
-
Add psql variables to track success/failure of SQL queries.
- 69835bc89888 11.0 cited
-
Wording improvements
- f5f1355dc4dc 8.3.0 cited