Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 09CC0475AFF for ; Fri, 29 Nov 2002 04:37:13 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 4067C475AEC for ; Fri, 29 Nov 2002 04:37:04 -0500 (EST) Received: (qmail 16737 invoked from network); 29 Nov 2002 09:36:57 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 29 Nov 2002 09:36:57 -0000 Message-ID: <3DE73599.6BB495FE@tpf.co.jp> Date: Fri, 29 Nov 2002 18:38:33 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Han Cc: "pgsql-odbc@postgresql.org" Subject: Re: out length err with SQL_TINYINT References: <20021129031247.E4A2B476199@postgresql.org> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/210 X-Sequence-Number: 2387 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/