pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedout length err with SQL_TINYINT
2+ messages / 2 participants
[nested] [flat]
* out length err with SQL_TINYINT
@ 2002-11-29 03:13 Han <zhouhanok@vip.sina.com>
2002-11-29 09:38 ` Re: out length err with SQL_TINYINT Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 1 reply; 2+ messages in thread
From: Han @ 2002-11-29 03:13 UTC (permalink / raw)
To: pgsql-odbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: out length err with SQL_TINYINT
2002-11-29 03:13 out length err with SQL_TINYINT Han <zhouhanok@vip.sina.com>
@ 2002-11-29 09:38 ` Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Inoue @ 2002-11-29 09:38 UTC (permalink / raw)
To: Han <zhouhanok@vip.sina.com>; +Cc: 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/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-11-29 09:38 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-29 03:13 out length err with SQL_TINYINT Han <zhouhanok@vip.sina.com>
2002-11-29 09:38 ` Hiroshi Inoue <Inoue@tpf.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox