Re: [HACKERS] [BUGS] BUG #2846: inconsistent and

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] [BUGS] BUG #2846: inconsistent and
Дата
Msg-id 2427.1167406410@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] [BUGS] BUG #2846: inconsistent and  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [HACKERS] [BUGS] BUG #2846: inconsistent and  ("Florian G. Pflug" <fgp@phlo.org>)
Re: [HACKERS] [BUGS] BUG #2846: inconsistent and  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
> OK, are you saying that there is a signal we are ignoring for
> overflow/underflow, or that we should just silently overflow/underflow
> and not throw an error?

Silent underflow is fine with me; it's the norm in most all float
implementations and won't surprise anyone.  For overflow I'm OK with
either returning infinity or throwing an error --- but if an error,
it should only be about inf-out-with-non-inf-in, not comparisons to any
artificial MAX/MIN values.

Anyone else have an opinion about this?

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] [BUGS] BUG #2846: inconsistent and
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: [HACKERS] [BUGS] BUG #2846: inconsistent and