Logical operators don't work - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Logical operators don't work
Date
Msg-id 20010313121836.9A7191A64@druid.net
Whole thread Raw
Responses Re: Logical operators don't work  (Marko Kreen <marko@l-t.ee>)
List 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 by date:

Previous
From: Mike Mascari
Date:
Subject: RE: Performance monitor
Next
From: Gunnar R|nning
Date:
Subject: Re: Performance monitor