pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Han <zhouhanok@vip.sina.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Problem about Bytea and SQL_C_CHAR
Date: Fri, 29 Nov 2002 09:38:18 +0900
Message-ID: <3DE6B6FA.1CFB0CA1@tpf.co.jp> (raw)
References: <md5:CE7439144AFC3D7A4137F10D3B6C9344>

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/



view thread (8+ messages)

Message-ID: <3DE6B6FA.1CFB0CA1@tpf.co.jp>
Permalink:  ../3DE6B6FA.1CFB0CA1@tpf.co.jp/
Also on:    postgresql.org/message-id/3DE6B6FA.1CFB0CA1@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, zhouhanok@vip.sina.com
  Subject: Re: Problem about Bytea and SQL_C_CHAR
  In-Reply-To: <3DE6B6FA.1CFB0CA1@tpf.co.jp>
  References: <md5:CE7439144AFC3D7A4137F10D3B6C9344> <3DE6B6FA.1CFB0CA1@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox