From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Florents Tselai <florents(dot)tselai(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: jsonb_strip_nulls with arrays? |
Date: | 2025-01-08 16:45:02 |
Message-ID: | 00e32809-ae7e-46cf-9b33-7323f5fc7784@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2024-09-17 Tu 4:53 PM, Florents Tselai wrote:
>
> We could, if we're going to do anything at all in this area.
> Another possibility would be to provide a second optional
> parameter for json{b}_strip_nulls. That's probably a better way to go.
>
> Here's a patch that adds that argument (only for jsonb; no json
> implementation yet)
>
>
I think it looks sane. We're not stripping a top level null, which is
one thing I looked out for.
I think we need a json implementation as well, though.
cheers
andrew
--
Andrew Dunstan
EDB:https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Jacob Champion | 2025-01-08 17:13:38 | Re: [PoC] Federated Authn/z with OAUTHBEARER |
Previous Message | Mahendra Singh Thalor | 2025-01-08 16:41:17 | Re: Non-text mode for pg_dumpall |