Skip to content

Commit bc73bd2

Browse files
committed
doc: Fix two queries related to jsonb functions
These have been updated by the revert done in 2f2b18b, but the pre-revert state was correct. Note that the result was incorrectly formatted in the first case. Author: Erik Rijkers Discussion: https://postgr.es/m/13777e96-24b6-396b-cb16-8ad01b6ac130@xs4all.nl Backpatch-through: 13
1 parent 4130742 commit bc73bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15873,7 +15873,7 @@ table2-mapping
1587315873
</para>
1587415874
<para>
1587515875
<literal>jsonb_set_lax('[{"f1":1,"f2":null},2,null,3]', '{0,f1}', null)</literal>
15876-
<returnvalue>[{"f1":null,"f2":null},2,null,3]</returnvalue>
15876+
<returnvalue>[{"f1": null, "f2": null}, 2, null, 3]</returnvalue>
1587715877
</para>
1587815878
<para>
1587915879
<literal>jsonb_set_lax('[{"f1":99,"f2":null},2]', '{0,f3}', null, true, 'return_target')</literal>
@@ -16112,7 +16112,7 @@ table2-mapping
1611216112
comparisons.
1611316113
</para>
1611416114
<para>
16115-
<literal>jsonb_path_exists_tz('["2015-08-01 12:00:00 -05"]', '$[*] ? (@.datetime() &lt; "2015-08-02".datetime())')</literal>
16115+
<literal>jsonb_path_exists_tz('["2015-08-01 12:00:00-05"]', '$[*] ? (@.datetime() &lt; "2015-08-02".datetime())')</literal>
1611616116
<returnvalue>t</returnvalue>
1611716117
</para></entry>
1611816118
</row>

0 commit comments

Comments
 (0)