Re: BUG #1626: Minimum documented values aren't accepted for all basic integer types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1626: Minimum documented values aren't accepted for all basic integer types
Дата
Msg-id 14621.1114552997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1626: Minimum documented values aren't accepted for all basic integer types  ("Dennis Vshivkov" <walrus@amur.ru>)
Список pgsql-bugs
"Dennis Vshivkov" <walrus@amur.ru> writes:
> # SELECT -32768::SMALLINT;
> ERROR:  smallint out of range

Not a bug, because that is read as "-(32768::SMALLINT)", per the
documented operator precedence.  Try (-32768)::SMALLINT.

            regards, tom lane

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

Предыдущее
От: "Juan Villa"
Дата:
Сообщение: BUG #1625: INTALL PROBLEM
Следующее
От: "Lasantha Kularatne"
Дата:
Сообщение: Re: BUG #1625: INTALL PROBLEM