Re: mogrify and indent features for jsonb

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Ilya Ashchepkov <koctep(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: mogrify and indent features for jsonb
Date: 2015-03-11 16:08:25
Message-ID: 55006879.2050601@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 03/11/2015 04:05 AM, Ilya Ashchepkov wrote:
> On Sat, 14 Feb 2015 22:06:07 -0500
> Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> Hello.
>
> I have function with recursive merging objects:
>
> # SELECT jsonb_deep_extend('{"a": {"b": 6}}'::jsonb, '{"a": {"c":
> 7}}'::jsonb) AS new_jsonb;
> new_jsonb
> -------------------------
> {"a": {"b": 6, "c": 7}}
>
> https://github.com/koctep/jsonb-extend
>
> I think this function may be useful for people too.
>
> Could you add it to your patch? I don't have enough time to prepare
> patch.

It's far too late to be adding new material.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-03-11 16:15:32 Re: One question about security label command
Previous Message Tom Lane 2015-03-11 16:07:20 Re: procost for to_tsvector