From: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Missing operator for numeric comparison |
Date: | 2001-03-22 16:34:56 |
Message-ID: | 200103221634.f2MGYuO08325@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Is it possible to fix this before RC1?
bray=# \d price
Table "price"
Attribute | Type | Modifier
-------------+-----------------------+----------
product | character varying(10) | not null
cost | numeric(12,2) | not null
home | numeric(12,2) | not null
export | numeric(12,2) | not null
next_home | numeric(12,2) |
next_export | numeric(12,2) |
Index: price_pkey
bray=# select * from price where home = 1.50;
ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8'
You will have to retype this query using an explicit cast
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Every good gift and every perfect gift is from above,
coming down from the Father of the heavenly lights,
who does not change like shifting shadows."
James 1:17
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-03-22 16:37:36 | Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c |
Previous Message | Peter Eisentraut | 2001-03-22 16:33:38 | Re: Re: Call for platforms |