Minor error

Поиск
Список
Период
Сортировка
Искать

Minor error

От:
PG Doc comments form <noreply@postgresql.org>
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/indexes-partial.html
Description:

A sentence on this page reads:
"The system can recognize simple inequality implications, for example “x <
1” implies “x < 2”; otherwise the predicate condition must exactly match
part of the query's WHERE condition or the index will not be recognized as
usable."

I think it's supposed to read ..."x <=1" implies "x < 2"... ?

Re: Minor error

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 28 Feb 2020, at 15:50, PG Doc comments form  wrote:
> 
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/12/indexes-partial.html
> Description:
> 
> A sentence on this page reads:
> "The system can recognize simple inequality implications, for example “x <
> 1” implies “x < 2”; otherwise the predicate condition must exactly match
> part of the query's WHERE condition or the index will not be recognized as
> usable."
> 
> I think it's supposed to read ..."x <=1" implies "x < 2"... ?

Why do you think that? x < 1 clearly implies x < 2 so I don't see what is wrong.

cheers ./daniel



FAQ