Problem with numeric and operators - Mailing list pgsql-general

From DaVinci
Subject Problem with numeric and operators
Date
Msg-id 20010904140836.A15151@fangorn.net
Whole thread Raw
Responses Re: Problem with numeric and operators
List pgsql-general
 Hi all.

 I have a problem with data type 'numeric'. If I have a field of type
 'numeric' (in this case 'foo') and execute next query:

     select * from table_example where foo > 2.45

 I get error:

     ERROR:  Unable to identify an operator '>' for types 'numeric' and 'float8'
    You will have to retype this query using an explicit cast

 What is the meaning of this? Is it a bug? What am I doing wrong?...

 Thanks.

                 David

pgsql-general by date:

Previous
From: Adam Manock
Date:
Subject: Re: PL/java?
Next
From: "Oliver Elphick"
Date:
Subject: Re: Problem with numeric and operators