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

Re: json api WIP patch

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json api WIP patch
Date: 2013-01-04 20:23:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 01/02/2013 05:51 PM, Andrew Dunstan wrote:
> On 01/02/2013 04:45 PM, Robert Haas wrote:
>> On Wed, Dec 26, 2012 at 3:33 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> 
>> wrote:
>>> Here is a patch for the first part of the JSON API that was recently
>>> discussed. It includes the json  parser hook infrastructure and 
>>> functions
>>> for json_get and friends, plus json_keys.

Udated patch that contains most of the functionality I'm after. One 
piece left is populate_recordset (populate a set of records from a 
single json datum which is an array of objects, in one pass). That 
requires a bit of thought.

I hope most of the whitespace issues are fixed.



Attachment: jsonapi2.patch
Description: text/x-patch (90.1 KB)

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2013-01-04 20:26:02
Subject: Re: Print b-tree tuples
Previous:From: Heikki LinnakangasDate: 2013-01-04 20:23:37
Subject: Re: dynamic SQL - possible performance regression in 9.2

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