Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group