json docs fix jsonb_path_exists_tz again

Started by Erik Rijkersover 3 years ago4 messages
#1Erik Rijkers
er@xs4all.nl
1 attachment(s)

In funcs.sgml, the value fed into jsonb_path_exists_tz was wrong; fixed
as attached.
(was inadvertently reverted with the big JSON revert)

Erik Rijkers

Attachments:

func.sgml.20220902.difftext/x-patch; charset=UTF-8; name=func.sgml.20220902.diffDownload
--- doc/src/sgml/func.sgml.orig	2022-09-02 16:16:21.406405542 +0200
+++ doc/src/sgml/func.sgml	2022-09-02 16:17:41.751838806 +0200
@@ -16533,7 +16533,7 @@
         comparisons.
        </para>
        <para>
-        <literal>jsonb_path_exists_tz('["2015-08-01 12:00:00 -05"]', '$[*] ? (@.datetime() &lt; "2015-08-02".datetime())')</literal>
+        <literal>jsonb_path_exists_tz('["2015-08-01 12:00:00-05"]', '$[*] ? (@.datetime() &lt; "2015-08-02".datetime())')</literal>
         <returnvalue>t</returnvalue>
        </para></entry>
       </row>
#2Michael Paquier
michael@paquier.xyz
In reply to: Erik Rijkers (#1)
Re: json docs fix jsonb_path_exists_tz again

On Fri, Sep 02, 2022 at 04:25:38PM +0200, Erik Rijkers wrote:

In funcs.sgml, the value fed into jsonb_path_exists_tz was wrong; fixed as
attached.

(was inadvertently reverted with the big JSON revert)

Yeah, good catch. This comes from 2f2b18b. There is a second
inconsistency with jsonb_set_lax(). I'll go fix both.
--
Michael

#3Andrew Dunstan
andrew@dunslane.net
In reply to: Michael Paquier (#2)
Re: json docs fix jsonb_path_exists_tz again

On 2022-09-02 Fr 20:59, Michael Paquier wrote:

On Fri, Sep 02, 2022 at 04:25:38PM +0200, Erik Rijkers wrote:

In funcs.sgml, the value fed into jsonb_path_exists_tz was wrong; fixed as
attached.

(was inadvertently reverted with the big JSON revert)

Yeah, good catch. This comes from 2f2b18b. There is a second
inconsistency with jsonb_set_lax(). I'll go fix both.

Thanks for fixing, you beat me to it.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

#4Michael Paquier
michael@paquier.xyz
In reply to: Andrew Dunstan (#3)
Re: json docs fix jsonb_path_exists_tz again

On Sat, Sep 03, 2022 at 10:01:25AM -0400, Andrew Dunstan wrote:

Thanks for fixing, you beat me to it.

No problem, I was just passing by :)
--
Michael