agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Gollamudi <[email protected]>
Subject: [PATCH] Document PASSING clause support for jsonpath variables
Date: Fri, 16 Jan 2026 23:38:00 -0500

Resolve a TODO left in doc/src/sgml/json.sgml by clarifying
that jsonpath named variables ($varname) can be set by
both the vars parameter of the JSON processing functions
or the SQL/JSON PASSING clause.

Author: Aditya Gollamudi <[email protected]>
---
 doc/src/sgml/json.sgml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/json.sgml b/doc/src/sgml/json.sgml
index 206eadb8f7b..8a2aad5935e 100644
--- a/doc/src/sgml/json.sgml
+++ b/doc/src/sgml/json.sgml
@@ -882,9 +882,10 @@ UPDATE table_name SET jsonb_field[1]['a'] = '1';
       <entry><literal>$varname</literal></entry>
       <entry>
         A named variable. Its value can be set by the parameter
-        <parameter>vars</parameter> of several JSON processing functions;
-        see <xref linkend="functions-json-processing-table"/> for details.
-        <!-- TODO: describe PASSING clause once implemented !-->
+        <parameter>vars</parameter> of several JSON processing functions
+        (see <xref linkend="functions-json-processing-table"/>), or by
+        using the SQL/JSON <literal>PASSING</literal> clause as described
+        in <xref linkend="sqljson-query-functions"/>.
       </entry>
      </row>
      <row>
-- 
2.34.1


--rciux46sejdf3ylo--






view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [PATCH] Document PASSING clause support for jsonpath variables
  In-Reply-To: <no-message-id-77355@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox