SQL/JSON: Update example in JSON_QUERY() documentation

Amit Langote <amitlan@postgresql.org>

Commit: 32ccfa0476ce1fbbe0326d87b0850894190017b5
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-13T07:10:01Z
Releases: 17.0
SQL/JSON: Update example in JSON_QUERY() documentation

Commit 2c27346ed684 fixed the behavior of JSON_QUERY() when WITH
CONDITIONAL WRAPPER is used, but the documentation example wasn't
updated to reflect this change. This commit updates the example to
show the correct result.

Per off-list report from Andreas Ulbrich.

Backpatch-through: 17

Files

PathChange+/−
doc/src/sgml/func.sgml modified +1 −1

Documentation touched