Re: "two time periods with only an endpoint in common do not overlap" ???

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: "two time periods with only an endpoint in common do not overlap" ???
Дата
Msg-id CAKFQuwbqA_UUmhSgfyuO46G=dYhzh+Th4gWirjHb1A=m6DLC9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: "two time periods with only an endpoint in common do not overlap" ???  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: "two time periods with only an endpoint in common do not overlap" ???
Список pgsql-general
On Friday, October 15, 2021, Ron <ronljohnsonjr@gmail.com> wrote:

Prima facie, if you were told "numbers in the range 0-10", would you really think, "ah, they really mean 0 through 9"?


I would indeed default to both endpoints of the range being inclusive.  I also begin counting at one, not zero.  I’ve long gotten past being surprised when computer science and my defaults don’t agree.  Choices are made and documented and that works for me.

As for this, documentation I never really gave the wording a second thought before, though I can definitely understand the complaint and like the somewhat wordier, but less linguistically challenging, phrasing the OP suggested (Boundary point, especially by itself, is not an improvement).

David J.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "two time periods with only an endpoint in common do not overlap" ???
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: "two time periods with only an endpoint in common do not overlap" ???