Re: jsonb and nested hstore

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb and nested hstore
Date: 2014-01-29 18:03:16
Message-ID: 52E94264.9070206@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 01/27/2014 10:43 PM, Andrew Dunstan wrote:
>
> On 01/26/2014 05:42 PM, Andrew Dunstan wrote:
>>
>> Here is the latest set of patches for nested hstore and jsonb.
>>
>> Because it's so large I've broken this into two patches and
>> compressed them. The jsonb patch should work standalone. The nested
>> hstore patch depends on it.
>>
>> All the jsonb functions now use the jsonb API - there is no more
>> turning jsonb into text and reparsing it.
>>
>> At this stage I'm going to be starting cleanup on the jsonb code
>> (indentation, error messages, comments etc.) as well get getting up
>> some jsonb docs.
>>
>>
>>
>
>
> Here is an update of the jsonb part of this. Charges:
>
> * there is now documentation for jsonb
> * most uses of elog() in json_funcs.c are replaced by ereport().
> * indentation fixes and other tidying.
>
> No changes in functionality.
>

Further update of jsonb portion.

Only change in functionality is the addition of casts between jsonb and
json.

The other changes are the merge with the new json functions code, and
rearrangement of the docs changes to make them less ugly. Essentially I
moved the indexterm tags right out of the table as is done in some other
parts pf the docs. That makes the entry tags much clearer to read.

cheers

andrew

Attachment Content-Type Size
jsonb-7.patch text/x-patch 188.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2014-01-29 18:11:28 Re: [PATCH] Use MAP_HUGETLB where supported (v3)
Previous Message Pavel Stehule 2014-01-29 17:20:02 Re: patch: option --if-exists for pg_dump