Logical operators don't work

Поиск
Список
Период
Сортировка
От darcy@druid.net (D'Arcy J.M. Cain)
Тема Logical operators don't work
Дата
Msg-id 20010313121836.9A7191A64@druid.net
обсуждение исходный текст
Ответы Re: Logical operators don't work  (Marko Kreen <marko@l-t.ee>)
Список pgsql-hackers
The logical operators '&', '|', '<<' and '>>' as documented on the page
http://www.postgresql.org/devel-corner/docs/postgres/functions.html don't
appear to work as advertised.

darcy=# SELECT 91 & 15;
ERROR:  Unable to identify an operator '&' for types 'int4' and 'int4'       You will have to retype this query using
anexplicit cast
 

Should this be fixed or should the documentation be changed?

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: RE: Performance monitor
Следующее
От: Gunnar R|nning
Дата:
Сообщение: Re: Performance monitor