Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahgtd-00010M-8Z for pgsql-committers@arkaria.postgresql.org; Sun, 20 Mar 2016 17:12:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ahgtc-0000wT-QC for pgsql-committers@arkaria.postgresql.org; Sun, 20 Mar 2016 17:12:08 +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 1ahgtc-0000wN-DA for pgsql-committers@postgresql.org; Sun, 20 Mar 2016 17:12:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ahgtZ-0005x9-Hz for pgsql-committers@postgresql.org; Sun, 20 Mar 2016 17:12:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2KHC27t006927; Sun, 20 Mar 2016 13:12:02 -0400 From: Tom Lane To: Andres Freund cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Make pgbench's expression lexer reentrant. In-reply-to: <20160320151741.uqwcfkvp2zvit4im@alap3.anarazel.de> References: <20160320151741.uqwcfkvp2zvit4im@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 20 Mar 2016 08:17:41 -0700" Date: Sun, 20 Mar 2016 13:12:02 -0400 Message-ID: <6926.1458493922@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 Andres Freund writes: > On 2016-03-19 20:35:48 +0000, Tom Lane wrote: >> Make pgbench's expression lexer reentrant. > This appears to have caused build failures on gaur, prairiedog, and > pademelon Yeah, I know. I have a plan for fixing it but wanted to get the main pgbench parsing rewrite pushed first. The problem seems to be that the ancient bison version these critters are using has a bug for the combination of a reentrant lexer and a non-reentrant parser. Which it's not so surprising they'd not have tested. I think it won't be too painful to dodge this by making the parser reentrant too (bison %pure-parser), and will look into that this evening. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers