Re: Infinities in type numeric

Поиск
Список
Период
Сортировка
Искать
От
Andrew Gierth
Тема
Re: Infinities in type numeric
Дата
Msg-id
87h7vg5fo9.fsf@news-spur.riddles.org.uk
Ответ на
Список
Дерево обсуждения
Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Infinities in type numeric Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Infinities in type numeric Robert Haas <robertmhaas@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Vik Fearing <vik@postgresfriends.org>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Robert Haas <robertmhaas@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Robert Haas <robertmhaas@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinities in type numeric Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinities in type numeric Tom Lane <tgl@sss.pgh.pa.us>
>>>>> "Tom" == Tom Lane  writes:

 [...]
 Tom> so that a finite value should never map to INT[64]_MIN, making it
 Tom> safe to do as you suggest. I agree that distinguishing +Inf from
 Tom> NaN is probably more useful than distinguishing it from the very
 Tom> largest class of finite values, so will do it as you suggest.
 Tom> Thanks!

It would make sense to make sure there's a test case in which at least
one value of all three of: a finite value much greater than 10^332, a
+Inf, and a NaN were all present in the same sort, if there isn't one
already.

-- 
Andrew (irc:RhodiumToad)


В списке pgsql-hackers по дате отправления
От: Joshua Drake
Дата:
Сообщение: Serializable wrong?
От: Tom Lane
Дата:
Сообщение: Re: Infinities in type numeric
FAQ