PATCH: Add hstore_to_json()

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: PATCH: Add hstore_to_json()
Date: 2009-12-16 19:28:09
Message-ID: 1F2E50CC-2053-43A6-A2EA-B70BB85C9B43@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Best,

David

Attachment Content-Type Size
hstore_to_json.patch application/octet-stream 7.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Wanner 2009-12-16 19:28:26 pinging Dano
Previous Message Jeff Davis 2009-12-16 19:25:12 Re: Range types