| От | Jeff Davis |
|---|---|
| Тема | Re: Why is NULL = unbounded for rangetypes? |
| Дата | |
| Msg-id | 1378057893.21540.18.camel@jdavis обсуждение исходный текст |
| Ответ на | Re: Why is NULL = unbounded for rangetypes? (Andreas Joseph Krogh <andreak@officenet.no>) |
| Список | pgsql-general |
On Fri, 2013-08-30 at 11:22 +0200, Andreas Joseph Krogh wrote:
> But I agree that returning NULL would be OK, then it would be easy to
> catch in queries when starting playing with range-types in queries.
> Having it implicitly mean infinity comes as a surprise, to me at
> least.
Agreed. This was discussed at the time, and the original version of
Range Types experimented with other means of specifying unbounded ranges
in order to avoid this possible confusion.
Unfortunately, everything we tried was awkward one way or another; and
we eventually made the decision to go with greater convenience, even if
it could cause some confusion.
Regards,
Jeff Davis
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера