Hi John,
I have a small patch to Rose::DB::Pg, in refine_dbi_column_info(), to
recognize the float4 (real) columns as float types.
#-----
--- Pg_old.pm 2006-04-05 02:49:19.000000000 +0300
+++ Pg.pm 2006-04-14 09:05:09.000000000 +0300
@@ -337,6 +337,10 @@
{
$col_info->{'TYPE_NAME'} = 'bits';
}
+ elsif($col_info->{'TYPE_NAME'} eq 'real')
+ {
+ $col_info->{'TYPE_NAME'} = 'float';
+ }
# Pg does not populate COLUMN_SIZE correctly for bit fields, so
#-----
Thanks,
Lucian Dragus
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object