pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: carlos@coterobarros.com
Subject: Example of json_array_elements
Date: Fri, 12 Nov 2021 12:18:32 +0000
Message-ID: <163671951222.8075.11449511571877078494@wrigleys.postgresql.org> (raw)

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!


view thread (2+ messages)  latest in thread

Message-ID: <163671951222.8075.11449511571877078494@wrigleys.postgresql.org>
Permalink:  ../163671951222.8075.11449511571877078494@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/163671951222.8075.11449511571877078494@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, carlos@coterobarros.com
  Subject: Re: Example of json_array_elements
  In-Reply-To: <163671951222.8075.11449511571877078494@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox