Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNwpU-0003Kg-8i for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 06:42:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bNwpT-0001VT-Nx for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 06:42:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bNwpR-0001Qy-Gs for pgsql-hackers@postgresql.org; Fri, 15 Jul 2016 06:42:29 +0000 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bNwpK-0007oG-Lo for pgsql-hackers@postgresql.org; Fri, 15 Jul 2016 06:42:28 +0000 Received: by mail-pf0-x234.google.com with SMTP id t190so38131797pfb.3 for ; Thu, 14 Jul 2016 23:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5EUdkBQjX5UmueiN+3/2K+y/7l5QETGui0MeC8CfDkU=; b=LdV2Y3THePqB7/DRFZdxeBrlxTrM47uzpRDTpiff0axhLlxK8ubr1JMRiyd9RNIULl nx2C/NDEdXvEMkWuAbxD0zPYEuzvGM3VKSotvE6qyUKtejgSyUovT8XFvZKHwAcnCniT iOpo7LwXmSEVxOcC25Ecv1IJPjkTMc9ANHzN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5EUdkBQjX5UmueiN+3/2K+y/7l5QETGui0MeC8CfDkU=; b=XhC7uEvmRg90nxejQY64F9HR9mtR8vPsu54lq5PW21vm+8ctDQfNRsOSHoWxmfLPFw O7n8NooHXPhCKOUNMbmDiQgEMfTrlNr5N7eePk6mXBOAYcmPqH3i1B8E3tfawOB5Ab0R zuJzwGLlvEMJAcO+DCOQbP/GUAYC0CZtMTc8swm6zbOD6omkbtQRfYrI/n8xoq/tYcAE /NKA6eoyz9MrI3LMI22xKqQGMcQ1gQhw+sKfod0RixWvhoyLvwQnImAGgThMIHRXnLDj efO6MY1vdovd8Q8FpIeATSsgXUTQ7qQxvmlc6WqlIwmcGZnHoKVj62ART5MucRFbYGX8 g2+Q== X-Gm-Message-State: ALyK8tKy6Be7FmHSFIW/YayFcLLfLvsCmA6IVPZdkUADs12HKMuRzujOdPOfm6aWpYVgQQ== X-Received: by 10.98.192.144 with SMTP id g16mr19130183pfk.55.1468564941752; Thu, 14 Jul 2016 23:42:21 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id e68sm5212156pfk.1.2016.07.14.23.42.20 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Jul 2016 23:42:20 -0700 (PDT) Date: Fri, 15 Jul 2016 02:42:18 -0400 From: Noah Misch To: Teodor Sigaev Cc: David Kellum , pgsql-bugs , Tom Lane , pgsql-hackers@postgresql.org Subject: Re: BUG #14245: Segfault on weird to_tsquery Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6712.1468357892@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Jul 12, 2016 at 05:11:32PM -0400, Tom Lane wrote: > David Kellum writes: > > On Tue, Jul 12, 2016 at 12:42 PM, Tom Lane 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