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

From Robert Haas
Subject Re: PATCH: Add hstore_to_json()
Date
Msg-id 603c8f070912180851h7dba5e99g9404c90ef9d5d4ba@mail.gmail.com
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()
Re: PATCH: Add hstore_to_json()
Re: PATCH: Add hstore_to_json()
List pgsql-hackers
On Fri, Dec 18, 2009 at 11:32 AM, David E. Wheeler <david@kineticode.com> wrote:
> On Dec 18, 2009, at 4:49 AM, Peter Eisentraut wrote:
>
>> Should we create a json type before adding all kinds of json formatted
>> data?  Or are we content with json as text?
>
> json_data_type++

What would that do for us?

I'm not opposed to it, but it seems like the more important thing
would be to provide functions or operators that can do things like
extract an array, extract a hash key, identify whether something is a
hash, list, or scalar, etc.

...Robert


pgsql-hackers by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: Distinguish view and table problem
Next
From: Florian Pflug
Date:
Subject: Re: Update on true serializable techniques in MVCC