Re: PATCH: Add hstore_to_json()
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: "David E. Wheeler" <david@kineticode.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2009-12-18T12:49:19Z
Lists: pgsql-hackers
On ons, 2009-12-16 at 11:28 -0800, David E. Wheeler wrote: > I just realized that this was easy to do, and despite my complete lack of C skillz was able to throw this together in a couple of hours. It might be handy to some, though the possible downsides are: > > * No json_to_hstore(). > * Leads to requests for hstore_to_yaml(), hstore_to_xml(), etc. > * Andrew Gierth said “no” when I suggested it. > > But it's kind of handy, too. Thoughts? Should we create a json type before adding all kinds of json formatted data? Or are we content with json as text?