I looked at the documentation again.
one more changes for JSON_QUERY:
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 3e58ebd2..0c49b321 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -18715,8 +18715,8 @@ ERROR: jsonpath array subscript is out of bounds
be of type <type>jsonb</type>.
</para>
<para>
- The <literal>ON EMPTY</literal> clause specifies the behavior if the
- <replaceable>path_expression</replaceable> yields no value at all; the
+ The <literal>ON EMPTY</literal> clause specifies the behavior
if applying the
+ <replaceable>path_expression</replaceable> to the
<replaceable>context_item</replaceable> yields no value at all; the
default when <literal>ON EMPTY</literal> is not specified is to return
a null value.
</para>