Re: PATCH: Add hstore_to_json() - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PATCH: Add hstore_to_json()
Date
Msg-id 4B3CCD86.3030403@dunslane.net
Whole thread Raw
In response to Re: PATCH: Add hstore_to_json()  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: PATCH: Add hstore_to_json()  (Robert Haas <robertmhaas@gmail.com>)
Re: PATCH: Add hstore_to_json()  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers

David E. Wheeler wrote:
> On Dec 31, 2009, at 1:04 AM, Peter Eisentraut wrote:
>
>   
>> I think the primary use will be to load a JSON value into Perl or Python
>> and process it there.  So a json type that doesn't have any interesting
>> operators doesn't sound useless to me.  The features I would like to get
>> out of it are input validation and encoding handling and smooth
>> integration with said languages.
>>     
>
> What about access to various parts of a JSON data structure? Or is that just asking for too much trouble up-front?
>
>
>   

IMNSHO it's essential. I think Peter's approach of ignoring this 
requirement is extremely shortsighted.

cheers

andrew


pgsql-hackers by date:

Previous
From: fangfang liu
Date:
Subject: Re: add xml support function
Next
From: Greg Stark
Date:
Subject: Re: Serializable Isolation without blocking