Re: strip nulls functions for json and jsonb - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: strip nulls functions for json and jsonb
Date
Msg-id CAFj8pRCWCoXZiiytkvuNiuw=9-u6hXQeOO8qL4r3N1vqPo2u4A@mail.gmail.com
Whole thread Raw
In response to Re: strip nulls functions for json and jsonb  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: strip nulls functions for json and jsonb
List pgsql-hackers
Hi

I have a question,

what is expected result of null strip of

{"a": {"b": null, "c", null"} }

?

2014-10-26 19:59 GMT+01:00 Andrew Dunstan <andrew@dunslane.net>:

On 10/16/2014 04:12 PM, Pavel Stehule wrote:


1. missing documentation

2. I miss more comments related to this functions. This code is relative simple, but some more explanation can be welcome.

3. why these functions are marked as "stable"?



New patch:

Docs added, functions marked immutable, more comments added.

cheers

andrew

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: strip nulls functions for json and jsonb
Next
From: Andrew Dunstan
Date:
Subject: Re: strip nulls functions for json and jsonb