diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-09-03 20:57:30 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-09-03 20:57:30 +0900 |
commit | bc73bd26f17f236368a0a3434e0c632d332803ca (patch) | |
tree | d472bb6d41b74e3b1ec8603b37766c72d90eb395 | |
parent | 413074273918e223a496e0f5348c3b74c620b211 (diff) | |
download | postgresql-bc73bd26f17f236368a0a3434e0c632d332803ca.tar.gz postgresql-bc73bd26f17f236368a0a3434e0c632d332803ca.zip |
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
-rw-r--r-- | doc/src/sgml/func.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index ac8b7e519a0..f63a04c6672 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -15873,7 +15873,7 @@ table2-mapping </para> <para> <literal>jsonb_set_lax('[{"f1":1,"f2":null},2,null,3]', '{0,f1}', null)</literal> - <returnvalue>[{"f1":null,"f2":null},2,null,3]</returnvalue> + <returnvalue>[{"f1": null, "f2": null}, 2, null, 3]</returnvalue> </para> <para> <literal>jsonb_set_lax('[{"f1":99,"f2":null},2]', '{0,f3}', null, true, 'return_target')</literal> @@ -16112,7 +16112,7 @@ table2-mapping comparisons. </para> <para> - <literal>jsonb_path_exists_tz('["2015-08-01 12:00:00 -05"]', '$[*] ? (@.datetime() < "2015-08-02".datetime())')</literal> + <literal>jsonb_path_exists_tz('["2015-08-01 12:00:00-05"]', '$[*] ? (@.datetime() < "2015-08-02".datetime())')</literal> <returnvalue>t</returnvalue> </para></entry> </row> |