On Fri, Jan 19, 2001 at 04:30:09PM -0500, Bruce Momjian wrote:
> Looks like this is fixed:
>
> test=> select 5 & ~ 6;
> ERROR: Unable to identify a right operator '&' for type 'int4'
> You may need to add parentheses or an explicit cast
> test=> select 5 & (~ 6);
> ?column?
> ----------
> 1
> (1 row)
I can still reproduce it:
marko=# SELECT 5 & ~6;
ERROR: Unable to identify a right operator '&' for type 'int4'
You may need to add parentheses or an explicit cast
Or did you mean it can be fixed with parenthesis? That was the
case from the beginning.
>
> > This patch was installed, with xor as "#". The parser still needs work.
> > Besides the known issue of "|", this also parses funny:
> >
> > => select 5 & ~ 6;
> > ERROR: Unable to identify a right operator '&' for type 'int4'
> >
--
marko