Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: hstore_to_json.patch
Description: application/octet-stream (7.1 KB)

Responses

pgsql-hackers by date

Next:From: Markus WannerDate: 2009-12-16 19:28:26
Subject: pinging Dano
Previous:From: Jeff DavisDate: 2009-12-16 19:25:12
Subject: Re: Range types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group