Re: Numeric datatype doesn't match those from older driver version ?

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Lothar Behrens <lothar(dot)behrens(at)lollisoft(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Numeric datatype doesn't match those from older driver version ?
Date: 2008-12-07 00:55:12
Message-ID: 493B1EF0.5040404@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Lothar Behrens wrote:
> Hi,
>
> I am now using the current ODBC driver (8.3.0400 Unicode) for my
> application.
> Compared to my SQL_ASCII database installation (and the 07.03.0200
> driver version)
> I get wrong column type information.
>
> The numbers I get now are negative.

Maybe you are looking at
SQL_WCHAR(-8)
SQL_WVARCHAR(-9)
SQL_WLONGVARCHAR(-10)
.

> I didn't have seen any switch to change this to be
> equal to the old driver.

Please use the ANSI version driver.
If you compile the program with win32.mak please type
nmake /f win32.mak ANSI_VERSION=yes
and you would get psqlodbc30a.dll and pgenlista.dll
instead of psqlodbc35w.dll and pgenlist.dll.

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Sufficool, Stanley 2008-12-12 19:01:58 Access 2002 linked table behavior
Previous Message Lothar Behrens 2008-12-06 08:20:49 Numeric datatype doesn't match those from older driver version ?