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: (view raw, whole thread or download thread mbox)
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?



Attachment: hstore_to_json.patch
Description: application/octet-stream (7.1 KB)


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-2017 The PostgreSQL Global Development Group