Re: doesn't recognize "!=-" (not equal to a negative value) - Mailing list pgsql-general

From Clodoaldo Pinto
Subject Re: doesn't recognize "!=-" (not equal to a negative value)
Date
Msg-id a595de7a0607120355w7767511avaf22ac48cb7024d5@mail.gmail.com
Whole thread Raw
In response to Re: doesn't recognize "!=-" (not equal to a negative value)  (Oisin Glynn <me@oisinglynn.com>)
Responses Re: doesn't recognize "!=-" (not equal to a negative  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: doesn't recognize "!=-" (not equal to a negative value)  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
2006/7/11, Oisin Glynn <me@oisinglynn.com>:
> Paul Tilles wrote:
> > Version postgres 7.4.7:
> >
> > Following sql
> >
> > UPDATE tablename SET value = 0.0 where value!=-9.4;
> >
> > results in the error message
> >
> > ERROR:  operator does not exist: smallint !=- integer
> > HINT:  No operator matches the given name and argument type(s). You
> > may need to add explicit type casts.
> >
> > Seems that postgres has a problem parsing a "not equal negative value".
> >
> > Anybody know if this is fixed in later versions?
> >
> > Paul Tilles
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Have you searched our list archives?
> >
> >               http://archives.postgresql.org
> Just tested on 8.1.1  I was getting the same error but if i put a space
> between the "=" and the "-" it works!

I have already counted 6 very similar answers. Is there some problem
with the list software that prevents people from noticing it has
already been answered?

Regards, Clodoaldo Pinto

pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: pgsql vs mysql
Next
From: "Magnus Hagander"
Date:
Subject: Re: Error code 1063