Re: PATCH: Add hstore_to_json() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PATCH: Add hstore_to_json()
Date
Msg-id 10214.1261165778@sss.pgh.pa.us
Whole thread Raw
In response to Re: PATCH: Add hstore_to_json()  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: PATCH: Add hstore_to_json()
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> [ I can already hear somebody insisting on a yaml type :-( ]

> Now that's a case where I think a couple of converter functions at most 
> should meet the need.

Well, actually, now that you mention it: how much of a json type would
be duplicative of the xml stuff?  Would it be sufficient to provide
json <-> xml converters and let the latter type do all the heavy lifting?
(If so, this patch ought to be hstore_to_xml instead.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PATCH: Add hstore_to_json()
Next
From: Alvaro Herrera
Date:
Subject: Re: Removing pg_migrator limitations