Missing operator for numeric comparison

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Missing operator for numeric comparison
Дата
Msg-id 200103221634.f2MGYuO08325@linda.lfix.co.uk
обсуждение исходный текст
Ответы Re: Missing operator for numeric comparison  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Is it possible to fix this before RC1?

bray=# \d price                Table "price" Attribute  |         Type          | Modifier 
-------------+-----------------------+----------product     | character varying(10) | not nullcost        |
numeric(12,2)        | not nullhome        | numeric(12,2)         | not nullexport      | numeric(12,2)         | not
nullnext_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
explicitcast
 

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.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
theFather of the heavenly lights,     who does not change like shifting shadows."
James1:17 
 




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: odbc/UnixWare 7.1.1: No Go.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c