On 03/10/2014 10:50 AM, Andrew Dunstan wrote:
>
> Thanks for your work on this.
>
> It's just occurred to me that we'll need to add hstore_to_jsonb
> functions and a cast to match the hstore_to_json functions and cast.
>
> That should be fairly simple - I'll work on that. It need not hold up
> progress with what's in this patch.
Here's a patch sans docs for this, to be applied on top of Peter's
patch. It's actually kinda useful as it demonstrates how non-jsonb code
can construct jsonb values directy.
cheers
andrew