Skip site navigation (1) Skip section navigation (2)

Re: Another swing at JSON

From: Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Another swing at JSON
Date: 2011-03-29 02:24:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, Mar 28, 2011 at 2:17 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> Well, one thing you'll need to do is rework it for the new 9.1
> extensions interface.

Done.  The new extension interface isn't exactly compatible with the
old, so I dropped support for PostgreSQL 8.4 from the module.  I
suppose I could maintain a back-ported json module separately.

On Mon, Mar 28, 2011 at 7:44 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> On 3/28/11 10:21 AM, Joseph Adams wrote:
>> Currently, there are no functions for converting to/from PostgreSQL
>> values or getting/setting sub-values (e.g. JSONPath).  However, I did
>> adapt the json_stringify function written by Itagaki Takahiro in his
>> patch (
>> ).
> Would it be possible for you to add a TODO list for JSON support to the
> wiki?  We have some potential GSOC students who are interested in
> working on JSON support.

What exactly should go on the TODO list?  Adding more features to this
JSON data type implementation (and eventually merging some/all of it
into core)?  Or doing a comparative analysis (benchmarking, etc.) of
the ~seven JSON data type implementations floating around?  Since I'm
not sure what was decided regarding an efficient binary internal
representation, I don't know what we should write on the TODO list.

In my humble (and biased) opinion, we should review and commit my JSON
data type code as a starting point.  Then, a GSoC student could work
on features (e.g. value conversion, JSONPath), integration (e.g.
moving to core, EXPLAIN FORMAT JSON, PL/Js, etc.), and improvements
(e.g. a binary internal representation).


Joey Adams

Attachment: add-json-contrib-module-20110328-2.patch
Description: text/x-patch (75.4 KB)

In response to


pgsql-hackers by date

Next:From: Euler Taveira de OliveiraDate: 2011-03-29 04:10:52
Subject: Re: Open issues for collations
Previous:From: Fujii MasaoDate: 2011-03-29 02:20:48
Subject: Re: Problem with streaming replication, backups, and recovery (9.0.x)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group