Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZBsD-0001Q8-6r for pgsql-committers@arkaria.postgresql.org; Wed, 10 Jan 2018 08:36:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZBsC-0004Tf-Ni for pgsql-committers@arkaria.postgresql.org; Wed, 10 Jan 2018 08:36:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eZBsC-0004Sk-J2 for pgsql-committers@lists.postgresql.org; Wed, 10 Jan 2018 08:36:36 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZBs4-0002ti-Vi for pgsql-committers@postgresql.org; Wed, 10 Jan 2018 08:36:36 +0000 Received: from xor.sai.msu.ru (unknown [93.174.131.141]) (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 E7D24B19192; Wed, 10 Jan 2018 11:36:26 +0300 (MSK) Subject: Re: pgsql: Improve scripting language in pgbench To: Thomas Munro Cc: pgsql-committers References: From: Teodor Sigaev Message-ID: Date: Wed, 10 Jan 2018 11:36:26 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thank you very much, applied Thomas Munro wrote: > On Wed, Jan 10, 2018 at 4:02 AM, Teodor Sigaev wrote: >> Improve scripting language in pgbench > > Hi Teodor, > > I think this commit might have lost a fix from > 0aa1d489ea756b96b6d5573692ae9cd5d143c2a5. bowerbird and jacana now > fail when they see an unexpected "0" before the exponent: > > Jan 09 11:49:51 # debug(script=0,command=29): double 1e+030 > ... > Jan 09 11:49:51 # doesn't match '(?-xism:command=29.: double 1e\+30\b)' > > I think you need to put "0?" back into the pattern like in the attached. > -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/