Re: [HACKERS] ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8'
В списке pgsql-hackers по дате отправления:
| От | Thomas Lockhart |
|---|---|
| Тема | Re: [HACKERS] ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8' |
| Дата | |
| Msg-id | 38AAB865.87615603@alumni.caltech.edu обсуждение |
| Ответ на | ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8' (Michael Meskes <meskes@postgresql.org>) |
| Ответы |
Re: [HACKERS] ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8'
|
| Список | pgsql-hackers |
> >> Why isn't this casted automatically?
> > Oversight. Will look at it.
> I believe it's the problem I complained of before: TypeCategory()
> doesn't think NUMERIC is a numeric type...
Right. The "oversight" is a long standing one, and somewhat
intentional.
One hesitation I have is the performance hit in mixing FLOAT and
NUMERIC; I (probably) don't want to make NUMERIC the "best" numeric
type, since it is potentially so slow. I'll have to look to see what
happens in INT/FLOAT mixed arithmetic and make sure it doesn't end up
doing it in NUMERIC instead.
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера