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
Re: [HACKERS] [BUGS] BUG #2846: inconsistent and |
| Список | 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 по дате отправления: