SQL/JSON: Update example in JSON_QUERY() documentation

Amit Langote <amitlan@postgresql.org>

Commit: 2b67bdca529c6aed4303eb6963d09d1b540137b8
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-13T07:10:14Z
Releases: 18.0
SQL/JSON: Update example in JSON_QUERY() documentation

Commit e6c45d85dc 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