From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Zhihong Yu <zyu(at)yugabyte(dot)com> |
Cc: | Joel Jacobson <joel(at)compiler(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: jsonb_array_elements_recursive() |
Date: | 2021-02-07 17:37:51 |
Message-ID: | CAKFQuwaKZSUiQj1pGiSd5g3L7a-wcEmMkR_nimXebFJcM_3SnQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sunday, February 7, 2021, Zhihong Yu <zyu(at)yugabyte(dot)com> wrote:
> Hi,
> # SELECT '[[5,2],"a",[8,[3,2],6]]'::jsonb;
> jsonb
> -------------------------------
> [[5, 2], "a", [8, [3, 2], 6]]
> (1 row)
>
> unnest(array[[3,2],"a",[1,4]]) is not accepted currently.
>
> Would the enhanced unnest accept the above array ?
>
Its not possible to even create that sql array so whether the unnest
function could do something useful with it is immaterial.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Joel Jacobson | 2021-02-07 17:42:33 | Re: jsonb_array_elements_recursive() |
Previous Message | Pavel Stehule | 2021-02-07 17:35:51 | Re: jsonb_array_elements_recursive() |