Re: Problem about Bytea and SQL_C_CHAR - Mailing list pgsql-odbc

From Han
Subject Re: Problem about Bytea and SQL_C_CHAR
Date
Msg-id 20021128081129.D7C15475A9E@postgresql.org
Whole thread Raw
In response to Problem about Bytea and SQL_C_CHAR  ("Han" <zhouhanok@vip.sina.com>)
List pgsql-odbc
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
columnvalues were inserted properly except bytea--it's null in the column. 
    And then I retrived data from the table I just inserted, binding columns with SQL_C_DEFAULT. Most colums returned
wrongvalue. 
    Notice that I use SQL_C_CHAR for insert and SQL_C_DEFAULT for retrive.
    Please check it. Thanks and regards!
>
>Maybe I found a cause. Please try the snapshot dll again.
>Thanks a lot.
>
>Hiroshi Inoue
>    http://w2422.nsk.ne.jp/~inoue/
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org



        Han
        zhouhanok@vip.sina.com
          2002-11-28





pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Problem about Bytea and SQL_C_CHAR
Next
From: "Dave Page"
Date:
Subject: Re: ODBC changes