From: | "Meskes, Michael" <meskes(at)topsystem(dot)de> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> |
Cc: | Michael Meskes <meskes(at)topsystem(dot)de>, pgsql-hackers(at)postgresql(dot)org |
Subject: | RE: [HACKERS] Bug? |
Date: | 1998-02-08 10:16:22 |
Message-ID: | 11720CEF3853D011AC0C00A024B7A9E110A137@EINSTEIN |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
That's exactly what I meant with my first mail. IMO this is the correct
way to handle it.
Michael
--
Dr. Michael Meskes, Projekt-Manager | topystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Use Debian GNU/Linux! | Tel: (+49) 2405/4670-44
> ----------
> From: Thomas G. Lockhart[SMTP:lockhart(at)alumni(dot)caltech(dot)edu]
> Sent: Freitag, 6. Februar 1998 16:53
> To: Bruce Momjian
> Cc: Michael Meskes; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Bug?
>
> > 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 | Meskes, Michael | 1998-02-08 10:16:27 | RE: [HACKERS] Bug? |
Previous Message | Meskes, Michael | 1998-02-08 10:16:20 | RE: [HACKERS] Profile of current backend |