[DB-SIG] Question about DBI data types

Steve McClure mcclure@s1.com
Thu, 30 Apr 1998 18:12:05 -0400

I am using the informixdb module and found that floating point data is
being passed back to my Python script truncated to an integer value.  
After a little code tracing I found that the informixdb implementation 
is at fault.  Now I would like to fix it but the DBI specification is 
a little vague on what the data should look like.

I thought that perhaps the size, precision or scale elements of the 
description tuple should be used to describe the data.  Are there any
standards in place for handling this?  Defacto perhaps because some
module has implemented it?

Thanks for any direction or help,
Steve.McClure@S1.com				Voice 404-812-6613
Security First Technologies			Fax   404-812-6616
3390 Peachtree Road, Suite 1700			http://www.sfnb.com
Atlanta, GA 30326-1108				http://www.s1.com