Re: PATCH: Add hstore_to_json()

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "David E. Wheeler" <david@kineticode.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2009-12-18T21:39:42Z
Lists: pgsql-hackers
On fre, 2009-12-18 at 11:51 -0500, Robert Haas wrote:
> 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?

At the moment it would be more of a placeholder, because if we later
decide to add full-blown JSON-constructing and -destructing
functionality, it would be difficult to change the signatures of all the
existing functionality.