Re: Integer/BigInt Implicit Typing Bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Integer/BigInt Implicit Typing Bug
Дата
Msg-id 4606.1076601532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Integer/BigInt Implicit Typing Bug  (pmcneill@berkleemusic.com)
Список pgsql-bugs
pmcneill@berkleemusic.com writes:
> In the 7.4.1 release, I've found that it implicitly types INT_MIN,
> -2147483648, as a 64-bit integer instead of a 32-bit integer.

This is not a bug, and the reason is that "-" is a separate operator.
"2147483648" is an int8 constant.

            regards, tom lane

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

Предыдущее
От: pmcneill@berkleemusic.com
Дата:
Сообщение: Integer/BigInt Implicit Typing Bug
Следующее
От: "SZŰCS Gábor"
Дата:
Сообщение: 7.4 aggregate OR TRUE yields strange results