Works here:
        
        test=> select 5.3::float;
         float8 
        --------
            5.3
        (1 row)

---------------------------------------------------------------------------

Teodor Sigaev wrote:
> wow=# select 5.3::float;
> ERROR:  Bad float8 input format '5.3'
> wow=# select 5.3::float8;
> ERROR:  Bad float8 input format '5.3'
> wow=# select 5.3::float4;
> ERROR:  Bad float4 input format '5.3'
> wow=# select 5.3e-1::float4;
> ERROR:  Bad float4 input format '0.53'
> wow=# select -5.3e-1::float4;
> ERROR:  Bad float4 input format '0.53'
> wow=# select -5.3::float4;
> ERROR:  Bad float4 input format '5.3'
> wow=# select 5.32222e2::float4;
> ERROR:  Bad float4 input format '532.222'
> wow=# select version();
>                                 version
> ---------------------------------------------------------------------
>   PostgreSQL 7.3b2 on i386-unknown-freebsd4.6, compiled by GCC 2.95.3
> (1 row)
> 
> Very strange or I missed something?
> This 'feature' appears only on FreeBSD, Linux works fine.
> 
> 
> -- 
> Teodor Sigaev
> [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to