From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: eric.mutta@gmail.com
Subject: Typo in examples in "8.14.5. jsonb Subscripting"
Date: Thu, 07 Jul 2022 00:27:01 +0000
Message-ID: <165715362165.665.3875113264927503997@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/14/datatype-json.html
Description:
Towards the end of the section, the code examples given have comments where
the JSON is using single quotes instead of double quotes around the
properties. For example this:
-- Where jsonb_field was {}, it is now {'a': [{'b': 1}]}
...should use double quotes around the "a" and "b" properties and read as
follows:
-- Where jsonb_field was {}, it is now {"a": [{"b": 1}]}
Likewise, this:
-- Where jsonb_field was [], it is now [null, {'a': 1}]
..should use double quotes around the "a" property and read as follows:
-- Where jsonb_field was [], it is now [null, {"a": 1}]
Many thanks,
Eric Mutta.
PS: hats off to the amazing people who write these docs - the json-related
docs are **incredibly thorough** to the point of being overwhelming! :-)
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, eric.mutta@gmail.com
Subject: Re: Typo in examples in "8.14.5. jsonb Subscripting"
In-Reply-To: <165715362165.665.3875113264927503997@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