Re: Problem about Bytea and SQL_C_CHAR

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Han <zhouhanok(at)vip(dot)sina(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Problem about Bytea and SQL_C_CHAR
Date: 2002-11-29 00:38:18
Message-ID: 3DE6B6FA.1CFB0CA1@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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/

Browse pgsql-odbc by date

  From Date Subject
Next Message Jeff Eckermann 2002-11-29 02:45:19 Re: Can't get more than 255 chars out of memo field in Acc
Previous Message Hiroshi Inoue 2002-11-29 00:05:06 Re: ODBC changes