Comparison Predicates - example - documentation seems contradictory?

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Comparison Predicates - example - documentation seems contradictory?
Дата
Msg-id 166510022672.661.15495990607469895016@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Comparison Predicates - example - documentation seems contradictory?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-docs
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?

В списке pgsql-docs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: request clarification on pg_restore documentation
Следующее
От: Erki Eessaar
Дата:
Сообщение: Re: SQL-standard function bodies and creating SECURITY DEFINER routines securely