Re: fix old confusing JSON example - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: fix old confusing JSON example
Date
Msg-id YHlEG1Ns6RKrqKpQ@paquier.xyz
Whole thread Raw
In response to Re: fix old confusing JSON example  (Erik Rijkers <er@xs4all.nl>)
Responses Re: fix old confusing JSON example  (Alexander Korotkov <aekorotkov@gmail.com>)
Re: fix old confusing JSON example  (Erik Rijkers <er@xs4all.nl>)
List pgsql-hackers
On Sat, Apr 03, 2021 at 02:28:38PM +0200, Erik Rijkers wrote:
> So, that gives information on two operators, and then gives one
> example query for each.  Clearly, the second example was meant to
> illustrate a where-clause with the  @?  operator.
>
> Small change to prevent great confusion (I'll admit it took me far
> too long to understand this).

Once one guesses the definition of the table to use with the sample
data at disposal in the docs, it is easy to see that both queries
should return the same result, but the second one misses the shot and
is corrected as you say.  So, applied.

My apologies for the delay.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Allowing to create LEAKPROOF functions to non-superuser
Next
From: Noah Misch
Date:
Subject: Re: Converting built-in SQL functions to new style