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);
> (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'
In response to
pgsql-hackers by date
|Next:||From: Marko Kreen||Date: 2001-01-20 15:53:37|
|Subject: status of 64bit ints? was: Re: Transaction ID wraparound: problem and proposed solution|
|Previous:||From: Magnus Hagander||Date: 2001-01-20 13:28:45|
|Subject: Postgresql on win32|
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2001-01-20 18:31:49|
|Subject: Re: [PATCHES] binary operators on integers |
|Previous:||From: Bruce Momjian||Date: 2001-01-19 21:30:09|
|Subject: Re: binary operators on integers|