Improve examples for range operators

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Improve examples for range operators
Дата
Msg-id 155066564653.1372.8375190273475381681@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Improve examples for range operators  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/functions-range.html
Description:

Hi.

It would be nice if next examples:

<<     strictly left of     int8range(1,10) << int8range(100,110)     t
>>     strictly right of     int8range(50,60) >> int8range(20,30)     t
&<     does not extend to the right of     int8range(1,20) &< int8range(18,20)
    t
&>     does not extend to the left of     int8range(7,20) &> int8range(5,10)     t

are extended by:
**not** strictly left of, **not** strictly right of, **extends** to the
right of, **extends** to the left of

Because without manual experiments I can not imagine the ranges that cause
'false' result for the examples above.

Thank you.

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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: pg_upgrade
Следующее
От: PG Doc comments form
Дата:
Сообщение: Update to equivalent SQL in 8.1.4. Serial Types