Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A6B92475AEC for ; Thu, 28 Nov 2002 21:56:45 -0500 (EST) Received: from vip.sina.com (unknown [202.108.35.183]) by postgresql.org (Postfix) with SMTP id 65489475A1E for ; Thu, 28 Nov 2002 21:56:37 -0500 (EST) Received: (qmail 89196 invoked from network); 29 Nov 2002 02:56:35 -0000 Received: from unknown (HELO zh) (218.108.232.5) by 202.108.35.183 with SMTP; 29 Nov 2002 02:56:35 -0000 From: "Han" To: Hiroshi Inoue Cc: pgsql-odbc@postgresql.org Subject: Re: Problem about Bytea and SQL_C_CHAR X-mailer: Foxmail 4.2 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Date: Fri, 29 Nov 2002 10:57:8 +0800 Message-Id: <20021129025637.65489475A1E@postgresql.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/207 X-Sequence-Number: 2384 Hiroshi Inoue, >Han wrote: >> >> Hiroshi Inoue, >> >> OK, that crash problem solved. But there are even more >> datatype conversion problems. >> First I prepared an insert statement, bound params all >> using SQL_C_CHAR and SQL_NTS, and execute it. All type >> of column values were inserted properly except bytea-- >> it's null in the column. > >OK please try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/ >again. It's OK now! Expect to CVS :) > >> And then I retrived data from the table I just >> inserted, binding columns with SQL_C_DEFAULT. Most >> colums returned wrong value. > >Hmm for example ? I don't have much time, sorry. It's alright. My mistake, sorry! Regards, =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Han =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1zhouhanok@vip.sina.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12002-11-29