Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoY6i-00007l-4M for pgsql-committers@arkaria.postgresql.org; Fri, 08 Apr 2016 15:14:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aoY6g-0006Ry-E7 for pgsql-committers@arkaria.postgresql.org; Fri, 08 Apr 2016 15:13:58 +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 1aoY6g-0006Ro-0w for pgsql-committers@postgresql.org; Fri, 08 Apr 2016 15:13:58 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aoY6d-0000GQ-5C for pgsql-committers@postgresql.org; Fri, 08 Apr 2016 15:13:56 +0000 Received: from xor.sai.msu.ru (newmail.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 409B1B191AA; Fri, 8 Apr 2016 18:13:53 +0300 (MSK) Subject: Re: pgsql: Phrase full text search. To: Tom Lane Cc: pgsql-committers@postgresql.org References: <22516.1460081958@sss.pgh.pa.us> <570772C6.4060808@sigaev.ru> <11272.1460123329@sss.pgh.pa.us> From: Teodor Sigaev Message-ID: <5707CAB1.7010801@sigaev.ru> Date: Fri, 8 Apr 2016 18:13:53 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <11272.1460123329@sss.pgh.pa.us> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org > Assuming that I'm right, you need to revert OP_AND/OP_OR/OP_NOT to what > they were before, which means you need to give up on the assumption that > the numerical values of the OP_xxx constants correspond directly to their > syntactic priority. But that assumption was never going to survive the > next tsquery expansion anyway. I'd suggest a static const array mapping > the OP values into their syntactic priorities. Oh, I see. Will fix. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/ -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers