From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | jian he <jian(dot)universality(at)gmail(dot)com> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: minor doc issue in 9.16.2.1.1. Boolean Predicate Check Expressions |
Date: | 2024-10-17 16:31:22 |
Message-ID: | ZxE72jYtvRi9UqcJ@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Oct 17, 2024 at 10:37:46PM +0800, jian he wrote:
>
> - <literal>false</literal>, or <literal>unknown</literal>.
> + <literal>false</literal>, or <literal>NULL</literal>.
>
> nearby are all examples related to jsonb_path_query.
> As mentioned before, jsonb_path_query returns JSON null.
> so change to
> + <literal>false</literal>, or <literal>null</literal>
> would be better.
>
> since we can select 'null'::jsonb;
> but cannot
> select 'NULL'::jsonb;
Oh, okay, but I think we need to say JSON null so we are clear --- patch
attached.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
When a patient asks the doctor, "Am I going to die?", he means
"Am I going to die soon?"
Attachment | Content-Type | Size |
---|---|---|
json.diff | text/x-diff | 686 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2024-10-17 16:51:59 | Re: Add reject_limit option to file_fdw |
Previous Message | jian he | 2024-10-17 14:37:46 | Re: minor doc issue in 9.16.2.1.1. Boolean Predicate Check Expressions |