Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E1FCD475D00 for ; Thu, 28 Nov 2002 19:36:40 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 5C2F5475A1E for ; Thu, 28 Nov 2002 19:36:38 -0500 (EST) Received: (qmail 29269 invoked from network); 29 Nov 2002 00:36:40 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 29 Nov 2002 00:36:40 -0000 Message-ID: <3DE6B6FA.1CFB0CA1@tpf.co.jp> Date: Fri, 29 Nov 2002 09:38:18 +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: Problem about Bytea and SQL_C_CHAR References: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/205 X-Sequence-Number: 2382 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. > 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. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/