Re: jsonb and nested hstore

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Geoghegan <pg(at)heroku(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Oleg Bartunov <obartunov(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>, Maciek Sakrejda <maciek(at)heroku(dot)com>
Subject: Re: jsonb and nested hstore
Date: 2014-03-11 00:12:15
Message-ID: 531E54DF.9070807@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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

Attachment Content-Type Size
hstore-jsonb-funcs.patch text/x-patch 23.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-03-11 00:12:39 Re: Cleaner build output when not much has changed
Previous Message Joe Conway 2014-03-10 23:48:53 Why is AccessShareLock held until end of transaction?