pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: eric.mutta@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Typo in examples in "8.14.5. jsonb Subscripting"
Date: Mon, 11 Jul 2022 10:45:45 +0900
Message-ID: <YsuAyTJQpOAx2b3W@paquier.xyz> (raw)
In-Reply-To: <165715362165.665.3875113264927503997@wrigleys.postgresql.org>
References: <165715362165.665.3875113264927503997@wrigleys.postgresql.org>

On Thu, Jul 07, 2022 at 12:27:01AM +0000, PG Doc comments form wrote:
> 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}]}

Indeed.  I can see only the two places you are pointing at as being
incorrect.  Will fix.
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../YsuAyTJQpOAx2b3W@paquier.xyz/2-signature.asc)
  download

view thread (2+ messages)

Message-ID: <YsuAyTJQpOAx2b3W@paquier.xyz>
Permalink:  ../YsuAyTJQpOAx2b3W@paquier.xyz/
Also on:    postgresql.org/message-id/YsuAyTJQpOAx2b3W@paquier.xyz

 · 

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: michael@paquier.xyz, eric.mutta@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Typo in examples in "8.14.5. jsonb Subscripting"
  In-Reply-To: <YsuAyTJQpOAx2b3W@paquier.xyz>

* 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