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

From Peter Eisentraut
Subject Re: JSON for PG 9.2
Date
Msg-id 1323753959.20924.17.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: JSON for PG 9.2  (Peter van Hardenberg <pvh@pvh.ca>)
Responses Re: JSON for PG 9.2
Re: JSON for PG 9.2
List pgsql-hackers
On mån, 2011-12-12 at 16:51 -0800, Peter van Hardenberg wrote:
> Because we haven't heard from him in a while we've been using PL/V8 to
> validate a JSON datatype simulated by a DOMAIN with a simple
> acceptance function. (See below.) This is not ideally performant but
> thanks to V8's JIT the JSON parser is actually reasonably good.
> 
> I think releasing something simple and non-performant with reasonable
> semantics would be the best next step. If it were up to me, I'd
> probably even try to just land PL/V8 as PL/JavaScript for 9.2 if the
> crash bugs and deal breakers can be sifted out.

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.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: JSON for PG 9.2
Next
From: Merlin Moncure
Date:
Subject: Re: JSON for PG 9.2