"jsonb ? text" operator and JSON strings

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: divergentdave(at)gmail(dot)com
Subject: "jsonb ? text" operator and JSON strings
Date: 2022-11-28 19:41:38
Message-ID: 166966449818.1903.16619777695754736362@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/functions-json.html
Description:

The description of the "jsonb ? text" operator in table 9.45 specifies its
behavior when the jsonb value is an object or an array, but not when it is a
string, number, or the null JSON object. One of the examples in 8.14.3 says,
in a comment, "A string is considered to exist if it matches a primitive
JSON string". I think the behavior of the operator on each JSON primitive
type should be spelled out in prose somewhere.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2022-11-28 19:50:07 Re: nextval parameter is not clear
Previous Message Kirk Wolak 2022-11-28 19:22:02 Re: nextval parameter is not clear