pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Make pgbench's expression lexer reentrant.
Date: Sun, 20 Mar 2016 13:12:02 -0400
Message-ID: <6926.1458493922@sss.pgh.pa.us> (raw)
In-Reply-To: <20160320151741.uqwcfkvp2zvit4im@alap3.anarazel.de>
References: <E1ahNbA-0007m6-Bz@gemulon.postgresql.org>
	<20160320151741.uqwcfkvp2zvit4im@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Andres Freund <andres@anarazel.de> 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



view thread (3+ messages)

Message-ID: <6926.1458493922@sss.pgh.pa.us>
Permalink:  ../6926.1458493922@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6926.1458493922@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: pgsql: Make pgbench's expression lexer reentrant.
  In-Reply-To: <6926.1458493922@sss.pgh.pa.us>
  References: <E1ahNbA-0007m6-Bz@gemulon.postgresql.org> <20160320151741.uqwcfkvp2zvit4im@alap3.anarazel.de> <6926.1458493922@sss.pgh.pa.us>

* 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