Type numeric mapping wrong

Type numeric mapping wrong

Postby Claudio » Mon 06 Jul 2009 14:09

dbexppgsql.dll = 1.0.0.4
DELPHI 7
ENABLE BCD = TRUE

--------------------------------
select cast(0 as numeric) as tpnumeric; <----- mapping (FLOAT)

select cast(0 as numeric(10,2)) as tpnumeric; <----- mapping (FMTBCD)

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

is this a BUG ?
Claudio
 
Posts: 25
Joined: Tue 17 Mar 2009 12:47

Postby Plash » Wed 12 Aug 2009 09:07

This is designed behaviour. But in the next build of the driver we will change this behaviour to use TFMTBCDField for numeric fieds without precision.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09


Return to dbExpress driver for PostgreSQL