Re: jsonpath - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: jsonpath
Date
Msg-id CAPpHfdsM86wA4_e4osPcPTJ8vMRDGZC-=DNPGxDuQMDrOs=GGg@mail.gmail.com
Whole thread Raw
In response to Re: jsonpath  (John Naylor <john.naylor@2ndquadrant.com>)
List pgsql-hackers
On Tue, Mar 19, 2019 at 12:23 PM John Naylor
<john.naylor@2ndquadrant.com> wrote:
> On Sun, Feb 24, 2019 at 5:03 PM Alexander Korotkov
> <a.korotkov@postgrespro.ru> wrote:
> > On Wed, Jan 30, 2019 at 5:28 AM Andres Freund <andres@anarazel.de> wrote:
> > > Why -CF, and why is -p repeated?
> >
> > BTW, for our SQL grammar we have
> >
> > > scan.c: FLEXFLAGS = -CF -p -p
> >
> > Is it kind of default?
>
> I just saw this in the committed patch. This is not default, it's
> chosen for maximum performance at the expense of binary/memory size.
> That's fine, but with a little effort you can also make the scanner
> non-backtracking for additional performance, as in the attached.

We're working on patchset improving flex scanner.  Already have
similar change among the others.  But thanks a lot for your attention!

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: jsonpath
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Willing to fix a PQexec() in libpq module