Re: TODO question

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: TODO question
Дата
Msg-id 3C2B9362.836706A5@fourpalms.org
обсуждение исходный текст
Ответ на TODO question  ("Pavlo Baron" <pb@pbit.org>)
Список pgsql-hackers
> This TODO-item "SELECT col FROM tab WHERE numeric_col = 10.1 fails, requires
> quotes" - is it already fixed? ...

thomas=# create table t3 (n numeric);
CREATE
thomas=# select * from t3 where n = 10.1;
ERROR:  Unable to identify an operator '=' for types 'numeric' and
'double precision'You will have to retype this query using an explicit cast
thomas=# select * from t3 where n = '10.1';n 
---
(0 rows)

                  - Thomas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Implicit cast of literal in SQL statements
Следующее
От: "Pavlo Baron"
Дата:
Сообщение: Re: TODO question