Skip site navigation (1) Skip section navigation (2)

Re: Oops! Its bug in parser????

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Vic <vic(at)dcc(dot)dp(dot)ua>
Cc: NOVICE <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Oops! Its bug in parser????
Date: 2001-03-05 12:27:45
Message-ID: 3AA38641.5000707@tm.ee (view raw or flat)
Thread:
Lists: 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


In response to

Responses

pgsql-hackers by date

Next:From: Christof PetigDate: 2001-03-05 14:00:47
Subject: Re: Query Planning time increased 3 times on 7.1 compared to 7.0.3
Previous:From: VicDate: 2001-03-05 12:01:33
Subject: Re: Oops! Its bug in parser????

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group