Re: org.postgresql.util.PSQLException: ERROR: value out of range: underflow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: org.postgresql.util.PSQLException: ERROR: value out of range: underflow
Дата
Msg-id 720183.1644165943@sss.pgh.pa.us
обсуждение исходный текст
Ответ на org.postgresql.util.PSQLException: ERROR: value out of range: underflow  (Thomas Markus <t.markus@proventis.net>)
Ответы Re: org.postgresql.util.PSQLException: ERROR: value out of range: underflow
Re: org.postgresql.util.PSQLException: ERROR: value out of range: underflow
Список pgsql-jdbc
Thomas Markus <t.markus@proventis.net> writes:
> a customer got the exception "org.postgresql.util.PSQLException: ERROR: 
> value out of range: underflow" without any stacktrace etc.

I'd venture that the cause is some server-side double precision
arithmetic that underflowed.  It's not that hard to hit, eg

postgres=# select 1e-200::float8 * 1e-200::float8;
ERROR:  value out of range: underflow

            regards, tom lane



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

Предыдущее
От: Thomas Markus
Дата:
Сообщение: org.postgresql.util.PSQLException: ERROR: value out of range: underflow
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: ERROR: value out of range: underflow