Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?
Дата
Msg-id 7991.1556573455@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?  (Eugen Konkov <kes-kes@yandex.ru>)
Ответы Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?
Список pgsql-docs
Eugen Konkov <kes-kes@yandex.ru> writes:
> if   you  allow I will suggest to map/convert 'infinity' value to
> unbound range, for datatypes which defines 'infinity' value.

That was intentionally rejected in the original range types design,
and even if we thought that decision was wrong, it's too late to
change it now.

There's probably some merit in having the documentation avoid the
use of "infinity" when it really means "unbounded", but I'm not
sure we can avoid it altogether without being obscure.

            regards, tom lane



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

Предыдущее
От: Eugen Konkov
Дата:
Сообщение: Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: COALESCE doccumentation