bigint overflow 'feature'

Поиск
Список
Период
Сортировка
От Allan Engelhardt
Тема bigint overflow 'feature'
Дата
Msg-id 3BABB58E.645D3EBF@cybaea.com
обсуждение исходный текст
Ответы Re: bigint overflow 'feature'
Список pgsql-general
Just wondering: Is this a known 'feature' & is there a workaround (to catch the overflow and abort the txn)??:

www=# select bigint '9223372036854775807' - bigint '-9223372036854775807';
 ?column?
----------
       -2
(1 row)


PostgreSQL 7.1.3 just downloaded.


Allan.

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

Предыдущее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: connection fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bigint overflow 'feature'