Different exponent in error messages

Поиск
Список
Период
Сортировка
От Andrus
Тема Different exponent in error messages
Дата
Msg-id dq3qnv$jur$1@news.hub.org
обсуждение исходный текст
Ответы Re: Different exponent in error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have NUMERIC(9,3) field.
Postgres produces different (!) error messages when inserted value is too
big to fit into this field

ERROR:  numeric field overflow

DETAIL:  The absolute value is greater than or equal to 10^6 for field with
precision 9, scale 3.;

DETAIL:  The absolute value is greater than or equal to 10^9 for field with
precision 9, scale 3.;

DETAIL:  The absolute value is greater than or equal to 10^7 for field with
precision 9, scale 3.;


Why Postgres 8.1.1 in XP returns different exponents ( 10^6, 10^9, 10^7) for
field with precision 9, scale 3 ?

Andrus.



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

Предыдущее
От: "Jim Nasby"
Дата:
Сообщение: Re: [SPAM] - how can we use outer join in Postures - Found word(s) if you received this in error in the Text body
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: index and MVCC