Re: [HACKERS] Bug?

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [HACKERS] Bug?
Дата
Msg-id 199802061325.OAA12741@gauss.topsystem.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Bug?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Bug?
Список pgsql-hackers
Bruce Momjian writes:
> I think it converts it to an integer, and then by the time it tries to
> convert it, it has already chopped off the top of the number.  The only
> fix for this would be to read all integers in as 64-bit integers, then
> do the conversion, but that could be a performance problem.

I agree. And performance is important. I think explicit type conversion is
what we should do. Or is it asked for too much if the user has to add a
::float8 to the number?

Michael

--
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: The new 'isinf.c' function in port.
Следующее
От: Hannu Krosing
Дата:
Сообщение: 06.02.98 snapshot core dump