starne error from select 1!=-1

From: "Andrus" <eetasoft(at)online(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: starne error from select 1!=-1
Date: 2006-04-15 20:41:33
Message-ID: e1rm7j$289q$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

select 1!=-1

causes

ERROR: operator does not exist: integer !=- integer
HINT: No operator matches the given name and argument type(s). You may need
to add explicit type casts.

Isn't this a bit stange ?
If I add space before -1 error does not appear.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-04-15 21:00:31 Re: starne error from select 1!=-1
Previous Message Guy Rouillier 2006-04-15 20:03:31 Re: Hardware related question: 3ware 9500S