Postgresql doesn't understand the unary plus

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Postgresql doesn't understand the unary plus
Дата
Msg-id 20001029143731.A15313@rum.ecomtel.com.au
обсуждение исходный текст
Ответы Re: Postgresql doesn't understand the unary plus  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I definitly consider this a bug but other people may disagree with me. What
I want to know is if it's excluded for any particular reason.

=> select -1;
?column?
--------
      -1
=> select +1;
ERROR:  Unable to identify a left operator '+' for type 'int4'
        You may need to add parentheses or an explicit cast

--
Martijn van Oosterhout

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

Предыдущее
От: "William H. Geiger III"
Дата:
Сообщение: Conversion MySql -> PostgresSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql doesn't understand the unary plus