pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Han <zhouhanok@vip.sina.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: out length err with SQL_TINYINT
Date: Fri, 29 Nov 2002 18:38:33 +0900
Message-ID: <3DE73599.6BB495FE@tpf.co.jp> (raw)
References: <20021129031247.E4A2B476199@postgresql.org>

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/



view thread (2+ messages)

Message-ID: <3DE73599.6BB495FE@tpf.co.jp>
Permalink:  ../3DE73599.6BB495FE@tpf.co.jp/
Also on:    postgresql.org/message-id/3DE73599.6BB495FE@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, zhouhanok@vip.sina.com
  Subject: Re: out length err with SQL_TINYINT
  In-Reply-To: <3DE73599.6BB495FE@tpf.co.jp>
  References: <20021129031247.E4A2B476199@postgresql.org> <3DE73599.6BB495FE@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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