Hi,
On Mon, 30 Nov 2026 at 10:32, shihao zhong <zhong950419(at)gmail(dot)com> wrote:
>
> Hi ChunLing,
>
> Thanks for your report, I can reproduce it, With OMIT
> QUOTES, json_populate_type() turns arrays and objects into text too.
+1
> The attached patch only strips quotes when the jsonb value is a
> scalar, so arrays and objects take the same path as KEEP QUOTES.
Thanks for the patch, lgtm.
The commit message could mention JSON_TABLE, and AFAICS this
should be backpatched to 17.
Regards,
Ayush