From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: benkoshy@hotmail.com
Subject: Comparison Predicates - example - documentation seems contradictory?
Date: Thu, 06 Oct 2022 23:50:26 +0000
Message-ID: <166510022672.661.15495990607469895016@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/14/functions.html
Description:
https://www.postgresql.org/docs/14/functions-comparison.html
See the heading: "Table 9.2. Comparison Predicates"
"2 BETWEEN 3 AND 1 → f" # ok this is false.
But let's read the example immediately below (the 'not between' example)
2 NOT BETWEEN 1 AND 3 → f # what? This is also false. how can the negation
also be the same value? I would expect it to be true?
That doesn't seem right?
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: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, benkoshy@hotmail.com
Subject: Re: Comparison Predicates - example - documentation seems contradictory?
In-Reply-To: <166510022672.661.15495990607469895016@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox