RE: jsonb_strip_nulls with arrays? - Mailing list pgsql-hackers

From Shinoda, Noriyoshi (SXD Japan FSI)
Subject RE: jsonb_strip_nulls with arrays?
Date
Msg-id DM4PR84MB17343BC3605930E0D98FE185EECA2@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: jsonb_strip_nulls with arrays?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: jsonb_strip_nulls with arrays?
List pgsql-hackers
Hi,
Thanks for developing the good feature.
I've attached a small patch for the documentation of the json_strip_nulls function. The data type of the 'target'
parameteris different between the implementation and the documentation. The implementation is json_stripe_nulls (target
JSON,...), but the current documentation says json_stripe_nulls(target JSONB, ...). 
 

Regards,
Noriyoshi Shinoda

-----Original Message-----
From: Andrew Dunstan <andrew@dunslane.net> 
Sent: Thursday, March 6, 2025 10:51 PM
To: Ian Lawrence Barwick <barwick@gmail.com>; Florents Tselai <florents.tselai@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: jsonb_strip_nulls with arrays?


On 2025-03-05 We 7:10 PM, Ian Lawrence Barwick wrote:
> Hi
>
> 2025年3月1日(土) 2:58 Florents Tselai <florents.tselai@gmail.com>:
>> Please add this to the next Commitfest at 
>> https://urldefense.com/v3/__https://commitfest.postgresql.org/52/__;!
>> !NpxR!moyYqgSNJn8nLYGjlKKZDuERAzIwnFY8Ge_C5MHDuoPRpTJI9Ee0gsyF4IeybO-
>> t--xu2idPkLF240-sxqpR$
>>
>>
>> Added ; thanks
>>   
>> https://urldefense.com/v3/__https://commitfest.postgresql.org/patch/5
>> 260/__;!!NpxR!moyYqgSNJn8nLYGjlKKZDuERAzIwnFY8Ge_C5MHDuoPRpTJI9Ee0gsy
>> F4IeybO-t--xu2idPkLF24zKVAj03$
> I see this was committed, but there's a small formatting error in the 
> docs (extra comma in the parameter list); patch attached.
>

Thanks, pushed.


cheers


andrew

--
Andrew Dunstan
EDB:
https://urldefense.com/v3/__https://www.enterprisedb.com__;!!NpxR!moyYqgSNJn8nLYGjlKKZDuERAzIwnFY8Ge_C5MHDuoPRpTJI9Ee0gsyF4IeybO-t--xu2idPkLF24-WSxzSS$





Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: explain analyze rows=%.0f
Next
From: Andres Freund
Date:
Subject: Re: Statistics Import and Export