Re: Typo in examples in "8.14.5. jsonb Subscripting" - Mailing list pgsql-docs

From Michael Paquier
Subject Re: Typo in examples in "8.14.5. jsonb Subscripting"
Date
Msg-id YsuAyTJQpOAx2b3W@paquier.xyz
Whole thread Raw
In response to Typo in examples in "8.14.5. jsonb Subscripting"  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
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

Attachment

pgsql-docs by date:

Previous
From: Adrian Wiik
Date:
Subject: Re: Section I - 2.9: Use SELECT to confirm set of rows before DELETE
Next
From: PG Doc comments form
Date:
Subject: Docs for string_to_array missing for Postgres 14