mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 07:12:58 -04:00
Doc: clean up markup for jsonb_set and related functions.
The markup for optional parameters was neither correct nor consistent. In passing, fix a spelling mistake. Per report from Alex Macy. Some of these mistakes are old, so back-patch as appropriate. Discussion: https://postgr.es/m/156953522258.1204.12736099368284950578@wrigleys.postgresql.org
This commit is contained in:
parent
8364ef925c
commit
0997cee82e
1 changed files with 3 additions and 3 deletions
|
|
@ -10967,7 +10967,7 @@ table2-mapping
|
|||
<entry><literal>[{"f1":1},2,null,3]</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb<optional>, <parameter>create_missing</parameter> <type>boolean</type></optional>)</literal>
|
||||
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb <optional>, create_missing boolean</optional>)</literal>
|
||||
</para></entry>
|
||||
<entry><para><type>jsonb</type></para></entry>
|
||||
<entry>
|
||||
|
|
@ -10975,10 +10975,10 @@ table2-mapping
|
|||
with the section designated by <replaceable>path</replaceable>
|
||||
replaced by <replaceable>new_value</replaceable>, or with
|
||||
<replaceable>new_value</replaceable> added if
|
||||
<replaceable>create_missing</replaceable> is true ( default is
|
||||
<replaceable>create_missing</replaceable> is true (default is
|
||||
<literal>true</>) and the item
|
||||
designated by <replaceable>path</replaceable> does not exist.
|
||||
As with the path orientated operators, negative integers that
|
||||
As with the path oriented operators, negative integers that
|
||||
appear in <replaceable>path</replaceable> count from the end
|
||||
of JSON arrays.
|
||||
</entry>
|
||||
|
|
|
|||
Loading…
Reference in a new issue