Bug? - Mailing list pgsql-hackers

From Michael Meskes
Subject Bug?
Date
Msg-id 199802051112.MAA07317@gauss.topsystem.de
Whole thread Raw
Responses Re: [HACKERS] Bug?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
I'm currently back to work with version 6.2.1 since I cannot connect with
6.3 via ODBC.

Anyway, I got my application running after finding a problem (inside the
app) with data conversion (it read double from a long data field). But it
seems I also encountered what I believe to be a bug. Since I'm nor sure
whether it's known I bring it up here. If I try to insert 199802051215 to a
float8 field it doesn't work because the parser believes this is a long and
truncates it to 2147...... Using 199802051215.0 to make sure it's a float
works fine. Shouldn't the parser be able to handle this?

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 by date:

Previous
From: ernst.molitor@uni-bonn.de
Date:
Subject: Re: [HACKERS] Linux: linux.s / tas.s not found...
Next
From: The Hermit Hacker
Date:
Subject: RE: [HACKERS] connection troubles