NUMERIC and arithmetics

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема NUMERIC and arithmetics
Дата
Msg-id 20020919142721.5213b546.christoph.dalitz@hs-niederrhein.de
обсуждение исходный текст
Ответы Re: NUMERIC and arithmetics  (Martijn van Oosterhout <kleptog@svana.org>)
Re: NUMERIC and arithmetics  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

in PG 7.1.x the NUMERIC data type makes some trouble with arithmetic and comparison
operators:

    delete from produkt where preis > 3.00;

yields

    ERROR:  Unable to identify an operator '>' for types 'numeric' and 'float8'

preis is typed NUMERIC(8,2). Strangely, "preis > 3" works.

Is this fixed in version 7.2?

Thanks,

Christoph Dalitz

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

Предыдущее
От: Jochem van Dieten
Дата:
Сообщение: Re: IN vs EXIIST
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: IN vs EXIIST