public inbox for [email protected]
help / color / mirror / Atom feedFrom: Laurenz Albe <[email protected]>
To: Luca Dametto <[email protected]>
To: [email protected]
Subject: Re: Documentation enancement regarding NULL and operators
Date: Wed, 18 Dec 2024 15:32:34 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On Sun, 2024-12-15 at 17:35 +0000, Luca Dametto wrote:
> Most programming languages return "true" when two null values are compared,
> and false when, being the two values nullable, one of them is null and the
> other one isn't.
>
> [not SQL, however]
>
> Whilst I'd love to discuss the reasons of this, I understand that it would
> be a waste of time for everyone, as we cannot change the status-quo even
> if it made sense, as it would break many thousands of projects.
>
> For that reason, I'd just like to improve the documentation to add at least
> a note about "hey, this won't work as you might expect, because it works
> in a different way than 99% of programming languages out there.".
There are already efforts to improve the documentation concerning NULL:
https://commitfest.postgresql.org/51/5086/
If that doesn't cover your case, perhaps you can join the discussion
and suggest improvements.
Yours,
Laurenz Albe
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Documentation enancement regarding NULL and operators
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox