Re: [HACKERS] Bug?

Michael Meskes <meskes@topsystem.de>

From: Michael Meskes <meskes@topsystem.de>
To: maillist@candle.pha.pa.us (Bruce Momjian)
Cc: pgsql-hackers@postgresql.org (PostgreSQL Hacker)
Date: 1998-02-06T13:25:24Z
Lists: 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