Thread: out length err with SQL_TINYINT

out length err with SQL_TINYINT

From
"Han"
Date:
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. 
    Regards,
        


        Han
        zhouhanok@vip.sina.com
          2002-11-29




Re: out length err with SQL_TINYINT

From
Hiroshi Inoue
Date:
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/