[General] Unable to identify an operator '=' for types 'numeric' and 'double precision' You will have to retype this query using and explicit cast

From: Edmund Lim Chi Chung <edmund(at)swopt(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [General] Unable to identify an operator '=' for types 'numeric' and 'double precision' You will have to retype this query using and explicit cast
Date: 2002-03-11 03:45:07
Message-ID: 1015818307.3c8c2843c5c3e@www.swopt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Server hardware:
Pentium 166mmx
96mb ram
4gb HD

Server Software:
Red Hat Linux 7.1
PostgreSQL 7.2

Development:
PowerBuilder 5.0

The story start when I try these statements (execute in psql):

CREATE TABLE testdecimal ( decimal_value DECIMAL(6,2));
INSERT INTO testdecimal VALUES(1.0);
INSERT INTO testdecimal VALUES(1.1);
SELECT * FROM testdecimal WHERE decimal_value = 1.0;

Error : Unable to identify an operator '=' for types 'numeric' and 'double
precision'
You will have to retype this query using and explicit cast

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Cheung Tin Ka 2002-03-11 04:17:44 How to rollback a sql
Previous Message Darren Ferguson 2002-03-11 03:35:22 Re: RE:REFERENCES