Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)

From: Terry Laurenzo <tj(at)laurenzo(dot)org>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Date: 2010-10-24 00:33:36
Message-ID: AANLkTi=-L0d1GVXu0vY5JDRMSWqWLro2rK6+B4WuYYcK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> I'm still going to write up a proposed grammar that takes these items into
> account - just ran out of time tonight.
>
>
The binary format I was thinking of is here:

http://github.com/tlaurenzo/pgjson/blob/master/pgjson/shared/include/json/jsonbinary.h

This was just a quick brain dump and I haven't done a lot of diligence on
verifying it, but I think it should be more compact than most JSON text
payloads and quick to iterate over/update in sibling traversal order vs
depth-first traversal which is what we would get out of JSON text.

Thoughts?

Terry

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-10-24 00:35:15 Re: WIP: extensible enums
Previous Message Tom Lane 2010-10-24 00:11:11 Re: WIP: extensible enums