From: Noah Misch <noah@leadboat.com>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: David Kellum <david@gravitext.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: BUG #14245: Segfault on weird to_tsquery
Date: Fri, 15 Jul 2016 02:42:18 -0400
Message-ID: <20160715064218.GA1909315@tornado.leadboat.com> (raw)
In-Reply-To: <6712.1468357892@sss.pgh.pa.us>
References: <20160712175855.1414.10498@wrigleys.postgresql.org>
<2157.1468352545@sss.pgh.pa.us>
<1468356893.2574.7@smtp.gmail.com>
<6712.1468357892@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Tue, Jul 12, 2016 at 05:11:32PM -0400, Tom Lane wrote:
> David Kellum <david@gravitext.com> writes:
> > On Tue, Jul 12, 2016 at 12:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Note that while crashing is certainly not good, the pre-9.6 behavior
> >> can hardly be called correct either. What happened to 'a'?
>
> > 'a' is a stopword, dropped by to_tsquery() as described here:
>
> Ah! OK, so it's probably necessary to have a stopword there in order
> to break it.
>
> BTW, all these variants also crash:
>
> select to_tsquery('!(a | !b) & c') as tsquery;
> select to_tsquery('!( !b & a) & c') as tsquery;
> select to_tsquery('!( !b | a) & c') as tsquery;
[Action required within 72 hours. This is a generic notification.]
The above-described topic is currently a PostgreSQL 9.6 open item. Teodor,
since you committed the patch believed to have created it, you own this open
item. If some other commit is more relevant or if this does not belong as a
9.6 open item, please let us know. Otherwise, please observe the policy on
open item ownership[1] and send a status update within 72 hours of this
message. Include a date for your subsequent status update. Testers may
discover new open items at any time, and I want to plan to get them all fixed
well in advance of shipping 9.6rc1. Consequently, I will appreciate your
efforts toward speedy resolution. Thanks.
[1] http://www.postgresql.org/message-id/20160527025039.GA447393@tornado.leadboat.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-bugs@postgresql.org
Cc: noah@leadboat.com, teodor@sigaev.ru, david@gravitext.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: BUG #14245: Segfault on weird to_tsquery
In-Reply-To: <20160715064218.GA1909315@tornado.leadboat.com>
References: <20160712175855.1414.10498@wrigleys.postgresql.org> <2157.1468352545@sss.pgh.pa.us> <1468356893.2574.7@smtp.gmail.com> <6712.1468357892@sss.pgh.pa.us> <20160715064218.GA1909315@tornado.leadboat.com>
* 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