Re: Oops! Its bug in parser???? - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Oops! Its bug in parser????
Date
Msg-id 3AA38641.5000707@tm.ee
Whole thread Raw
In response to Oops! Its bug in parser????  (Vic <vic@dcc.dp.ua>)
List pgsql-hackers
Vic wrote:

>  Hi
>   I try  this  "construction"  : select myfield from mytable  where
> myfield=-1
> And get  this:
> ERROR:  Unable to identify an operator '=-' for types 'numeric' and
> 'int4'

What version of PostgreSQL are you using ?

I believe this is fixed a long time ago.

If you don't want to upgrade just put spaces in
> select myfield from mytable  where myfield = -1

----------------
Hannu



pgsql-hackers by date:

Previous
From: Franck Martin
Date:
Subject: CORBA and PG
Next
From: Vic
Date:
Subject: Re: Oops! Its bug in parser????