Add casting for numeric/float4/float8 type value

Hiroshi Inoue <inoue@tpf.co.jp>

Commit: b24b2a5be0c087706e18534f57fee697d8cfa572
Author: Hiroshi Inoue <inoue@tpf.co.jp>
Date: 2001-02-16T03:10:09Z
Releases: 7.1.1
Add casting for numeric/float4/float8 type value
automatically to compensate the lack of automatic
conversion functionality of PostgreSQL server.
For example if there's a numeric type binding
   1.2567 --> 1.2567::numeric.
I hope this change would enable the use of numeric
type in MS-Access etc.

Thanks Hiroki Kataoka for his checking my code.

Files

PathChange+/−
src/interfaces/odbc/convert.c modified +27 −0