Re: out length err with SQL_TINYINT

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Han <zhouhanok(at)vip(dot)sina(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: out length err with SQL_TINYINT
Date: 2002-11-29 09:38:33
Message-ID: 3DE73599.6BB495FE@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Han wrote:
>
> pgsql-odbc
>
> When retrive SQL_TINYINT columns from table using
> SQL_C_DEFAULT, the out length(the last argument of
> SQLBindCol) is incorrect. For example, the value
> retrived is 0(it's correct), but the length returned
> is 2 -- and in fact it's 1.

There's no type in PostgreSQL which exactly matches
SQL_TINYINT.

regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2002-11-29 16:23:03 psqlODBC 07.02.0005 Released
Previous Message Dave Page 2002-11-29 08:23:25 Re: ODBC changes