Thread: pgsql: doc: Fix some issues with JSON_TABLE() exampls

pgsql: doc: Fix some issues with JSON_TABLE() exampls

From
Amit Langote
Date:
doc: Fix some issues with JSON_TABLE() exampls

 1. Remove an unused PASSING variable.

 2. Adjust formatting of JSON data used in an example to be valid
    under strict mode

Reported-by: Miłosz Chmura <mieszko4@gmail.com>
Author: Robert Treat <rob@xzilla.net>
Discussion: https://postgr.es/m/173859550337.1071.4748984213168572913@wrigleys.postgresql.org

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/77cdee9ea905f32c5c93d1505ec85db3ecea5dd4

Modified Files
--------------
doc/src/sgml/func.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


Re: pgsql: doc: Fix some issues with JSON_TABLE() exampls

From
Amit Langote
Date:
On Wed, Feb 19, 2025 at 3:33 PM Amit Langote <amitlan@postgresql.org> wrote:
> doc: Fix some issues with JSON_TABLE() exampls
>
>  1. Remove an unused PASSING variable.
>
>  2. Adjust formatting of JSON data used in an example to be valid
>     under strict mode
>
> Reported-by: Miłosz Chmura <mieszko4@gmail.com>
> Author: Robert Treat <rob@xzilla.net>
> Discussion: https://postgr.es/m/173859550337.1071.4748984213168572913@wrigleys.postgresql.org

Oops, forgot to add the Backpatch-through tag here.

--
Thanks, Amit Langote