Alain Picard wrote:
>
> Dear unixODBC and psqlodbc maintainers,
>
> I'm trying to use unixODBC with the latest (CVS) psqlodbc library
> with PostgreSQL 7.3.
>
> This is all working fine, but, as of 7.3 PostgreSQL returns
> aggregate types (e.g. SUMs, COUNTs) as INTEGER8, and so these
> results are (correctly) mapped to string types by the ODBC V2 driver.
>
> On Windows NT, using the experimental psqlodbc V3 driver, things
> work properly and I get numbers back. On Linux, however, compiling
> the experimental psqlodbc V3 driver results in problems. (I did
> this by defining ODBCVER to be 0x0351 in config.h)
How did you build the driver ?
Did you link odbcapi30.o, pgapi30.o and info30.o ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/