From: | "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Michael Meskes <meskes(at)topsystem(dot)de>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Bug? |
Date: | 1998-02-06 15:53:08 |
Message-ID: | 34DB31E4.BAD1C91D@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> 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.
Well, the other possibility is to try converting to float8 only if the int4
conversion fails. If both fail, then throw an elog(ERROR). I have patches for
this...
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 1998-02-06 15:55:15 | Re: [HACKERS] Profile of current backend |
Previous Message | Thomas G. Lockhart | 1998-02-06 15:39:14 | Re: [HACKERS] Some performance issues (since everybody is testing ... :) |