Re: Math Huh?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Math Huh?
Дата
Msg-id 200205301659.43775.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Math Huh?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Math Huh?  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-sql
Tom,

> (yawn) int4 overflow.  Use float or numeric if you want overflow
> robustness...

Shouldn't it give me an error?  This does:

SELECT (255^4)::INT4


--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology     josh@agliodbs.com   and data management solutions     (415) 565-7293  for law firms, small
businesses     fax 621-2533   and non-profit organizations.     San Francisco 



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

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: Math Huh?
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Math Huh?