From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Get rid of backtracking in jsonpath_scan.l
Date: Tue, 26 Mar 2019 12:22:09 -0300
Message-ID: <20190326152209.GA16374@alvherre.pgsql> (raw)
In-Reply-To: <5083bd0a-7cc4-fff3-284b-7492a830fa1d@2ndQuadrant.com>
On 2019-Mar-26, Andrew Dunstan wrote:
> On 3/25/19 8:44 AM, Alexander Korotkov wrote:
> > Get rid of backtracking in jsonpath_scan.l
> >
> > Non-backtracking flex parsers work faster than backtracking ones. So, this
> > commit gets rid of backtracking in jsonpath_scan.l. That required explicit
> > handling of some cases as well as manual backtracking for some cases. More
> > regression tests for numerics are added.
>
> jacana appears to be having trouble with this:
>
>
> 2019-03-26 00:49:02.208 EDT [5c99ae9e.20cc:6] LOG: server process (PID 8368) was terminated by exception 0xC0000028
0xC0000028 is STATUS_BAD_STACK, per
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60b...
Not sure how credible/useful a stack trace is going to be.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, andrew.dunstan@2ndquadrant.com, akorotkov@postgresql.org
Subject: Re: pgsql: Get rid of backtracking in jsonpath_scan.l
In-Reply-To: <20190326152209.GA16374@alvherre.pgsql>
References: <5083bd0a-7cc4-fff3-284b-7492a830fa1d@2ndQuadrant.com> <20190326152209.GA16374@alvherre.pgsql>
* 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