From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Marcos Pegoraro <marcos(at)f10(dot)com(dot)br> |
Cc: | jian he <jian(dot)universality(at)gmail(dot)com>, Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(at)eisentraut(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Document NULL |
Date: | 2024-12-09 15:56:35 |
Message-ID: | CAKFQuwaYXxsJg0zLoOQ45bLzSybEbdHXHTDkJkKuQW7bH-HBSA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Nov 23, 2024 at 5:30 AM Marcos Pegoraro <marcos(at)f10(dot)com(dot)br> wrote:
> Em qui., 21 de nov. de 2024 às 12:04, David G. Johnston <
> david(dot)g(dot)johnston(at)gmail(dot)com> escreveu:
>
> Typo in NuLl, mixed upper and lower case.
>
> SELECT
> NULL AS "Literal Null Value",
> pg_typeof(null) AS "Type of Null",
> pg_typeof(NuLl::text) AS "Type of Cast null",
> cast(null as text) AS "Cast null value";
>
> should be
> pg_typeof(null::text) AS "Type of Cast Null",
>
That was not a typo. I'm intentionally showing an example demonstrating
that the SQL NULL is fully case-insensitive. But I suppose showing both
all-upper and all-lower cases fulfills that goal sufficiently. Changed.
Went with NULL so there are two of each. Made all of the column headers
Title Case.
Thanks!
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2024-12-09 16:01:48 | Re: Document NULL |
Previous Message | Peter Eisentraut | 2024-12-09 15:44:14 | some Page/PageData const stuff |