SQL/JSON: Update example in JSON_QUERY() documentation
authorAmit Langote <amitlan@postgresql.org>
Fri, 13 Sep 2024 07:07:42 +0000 (16:07 +0900)
committerAmit Langote <amitlan@postgresql.org>
Fri, 13 Sep 2024 07:10:14 +0000 (16:10 +0900)
commit2b67bdca529c6aed4303eb6963d09d1b540137b8
tree532c8883ecba25796b00c10819b877e815a0aaa9
parent4d8489f4f1fa86a99e6db0ea702911e1cf92fa81
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
doc/src/sgml/func.sgml