Example of json_array_elements

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: carlos(at)coterobarros(dot)com
Subject: Example of json_array_elements
Date: 2021-11-12 12:18:32
Message-ID: 163671951222.8075.11449511571877078494@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/functions-json.html
Description:

Maybe this example for json_array_elements is wrong?

select * from json_array_elements('[1,true, [2,false]]')

It seems to me that it should be

select * from json_array_elements('[[1,true], [2,false]]')

Thank you for this extraordinary documentation!

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2021-11-12 13:46:40 Re: Update documentation page for translators
Previous Message PG Doc comments form 2021-11-11 21:24:21 \dp privileges "decoder" dropped in v12 of docs