Re: JSON for PG 9.2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Peter van Hardenberg <pvh(at)pvh(dot)ca>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org, Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
Subject: Re: JSON for PG 9.2
Date: 2011-12-13 20:27:03
Message-ID: 1323808023.16048.7.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-12-13 20:30:07 Re: why do we need two snapshots per query?
Previous Message Peter Eisentraut 2011-12-13 20:22:46 Re: Configuration include directory