Re: Feature Request: JSON input for hstore - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Feature Request: JSON input for hstore
Date
Msg-id 1252969506.9975.157.camel@monkey-cat.sm.truviso.com
Whole thread Raw
In response to Feature Request: JSON input for hstore  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Feature Request: JSON input for hstore
List pgsql-hackers
On Mon, 2009-09-14 at 15:14 -0700, Josh Berkus wrote:
> Hackers,
> 
> I've just had a feature request from a client that we come up with a way
> to enable JSON input into hstore.  This would make hstore much more
> useful for software developers.
> 
> First question: would this go in the language driver, libpq, or the
> backend?  Thoughts?

What's wrong with just using a variant of the type input function? With
a parameterized insert, it doesn't seem like it's really placing much of
a burden on the application.

Or am I missing the use case?

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: decibel
Date:
Subject: Re: RfD: more powerful "any" types
Next
From: David Fetter
Date:
Subject: Re: Feature Request: JSON input for hstore