From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix parsing NOT sequence in tsquery
Date: Fri, 15 Jul 2016 17:02:31 +0000
Message-ID: <E1bO6VT-00005J-UU@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix parsing NOT sequence in tsquery
Digging around bug #14245 I found that commit
6734a1cacd44f5b731933cbc93182b135b167d0c missed that NOT operation is
right associative in opposite to all other. This miss is resposible for
tsquery parser fail on sequence of NOT operations
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/00f304ce2dd86f4b76606225b41e0854a3362628
Modified Files
--------------
src/backend/utils/adt/tsquery.c | 4 +++-
src/test/regress/expected/tstypes.out | 36 +++++++++++++++++++++++++++++++++++
src/test/regress/sql/tstypes.sql | 6 ++++++
3 files changed, 45 insertions(+), 1 deletion(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: teodor@sigaev.ru
Subject: Re: pgsql: Fix parsing NOT sequence in tsquery
In-Reply-To: <E1bO6VT-00005J-UU@gemulon.postgresql.org>
References: <E1bO6VT-00005J-UU@gemulon.postgresql.org>
* 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