Re: JSON for PG 9.2 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: JSON for PG 9.2
Date
Msg-id 1323808023.16048.7.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: JSON for PG 9.2  (Peter van Hardenberg <pvh@pvh.ca>)
List pgsql-hackers
On tis, 2011-12-13 at 00:06 -0800, Peter van Hardenberg wrote:
> On Mon, Dec 12, 2011 at 9:25 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> > On mån, 2011-12-12 at 16:51 -0800, Peter van Hardenberg wrote:
> > You don't need a new PL to do that.  The existing PLs can also parse
> > JSON.  So that's not nearly enough of a reason to consider adding this
> > new PL.
> 
> PL/V8 is interesting because it is very fast, sandboxed, and well
> embedded with little overhead.
> 
> My experience with PL/Python and PL/Perl has not been thus, and
> although they are handy if you want to break out and run system work,
> they're not the kind of thing I'd consider for defining performant
> operators with.

Some performance numbers comparing a valid_json() functions implemented
in different ways would clarify this.  I wouldn't be surprised if PL/V8
won, but we need to work with some facts.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Configuration include directory
Next
From: Robert Haas
Date:
Subject: Re: why do we need two snapshots per query?