Request for comment: pgjson project - Mailing list pgsql-general

From Terry Laurenzo
Subject Request for comment: pgjson project
Date
Msg-id AANLkTinH9CL5szEm_OmyAxSod2=5GpfQBmVezAjRvFWR@mail.gmail.com
Whole thread Raw
Responses Re: Request for comment: pgjson project  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all -

I'm a long-time postgres user but have never developed any extensions for it.  I had some time over the past week and decided to tackle a project I've had on my list for a while: adding robust JSON capabilities to the database server.  This is the first step in a bigger thought that I've been toying with for a while.

Its not done yet, but it builds and works with some examples (see the Github readme).

This isn't just an alias for a text type with some validation.  The internal representation is actually a superset of BSON (http://bsonspec.org/) as defined for MongoDB.  I've architected it so that it should play naturally with the postgres type system, but there are still some cast functions that need to be implemented.

Anyway, feedback is appreciated - good, bad or otherwise.

Thanks.
Terry

pgsql-general by date:

Previous
From: Guy Rouillier
Date:
Subject: Re: It it possible to get this result in one query?
Next
From: "Andrus Moor"
Date:
Subject: How to change pg_trigger query so that it works in 9.0 without pg_trigger.tgisconstraint does not exist error