From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Michael GUIARD <m.guiard@nestor-tech.com>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: odbc 8.01.02 8190 bytes limitation
Date: Wed, 26 Apr 2006 21:58:14 +0900
Message-ID: <444F6E66.4090604@tpf.co.jp> (raw)
In-Reply-To: <012301c66906$6c711b70$027ba8c0@NSTMike>
References: <011001c6679d$c15d4740$027ba8c0@NSTMike>
<20060425103703.GH23256@soptik.pzkagis.cz>
<012301c66906$6c711b70$027ba8c0@NSTMike>
Michael GUIARD wrote:
> Hi Luf !
> thanks for your answer.
>
> I will give you some precisions : I work with ado and odbc driver to
> connect. For insertion in database I use variant types. For array my
> variant is defined as this : VT_ARRAY|VT_UI1
>
> I tried the ODBC driver 7.03.02.60, I got the following errors :
> - connection with default settings (maxLongVarChar = 8190) :
> . less than 8k insertion : ERROR during field affectation :
> "Multiple-step operation generated errors. Check each status value"
> . less than 16k insertion : idem
> ... idem
> - connection with maxLongVarChar = 16382 :
> . less than 8k insertion : idem as above
> ... idem
>
> With the ODBC driver 8.01.02.00, I got the following errors :
> - conenction with default settings : maxLongVarChar = 8190
> . less than 8k insertion : OK !
> . less than 16k insertion : ERROR during RecordSet update :
> Microsoft cursor engine : data provider or other service returned an
> E_FAIL status.
> ... idem as 16k insertion
> - connection with maxLongVarChar = 16382 :
> . less than 8k : OK !
> . less than 16k : OK !
> . more than 16k : ERROR during RecordSet update : Microsoft cursor
> engine : data provider or other service returned an E_FAIL status.
> - connection with maxLongVarChar = 32768 :
> . less than 8k : ERROR during RecordSet update : type "lo" does not
> exist
> ... always the same error
>
> After to have inserted data of 8k with ODBC 8.01.02, if I tried to
> connect with ODBC 7.03.02.60 and retrieve the data, I have no errors.
> But if I try to insert new data, I have always the error : type "lo"
> does not exist !
Please turn on the ByteaAsLongVarchar option.
regards,
Hiroshi Inoue
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, m.guiard@nestor-tech.com, luf@pzkagis.cz
Subject: Re: odbc 8.01.02 8190 bytes limitation
In-Reply-To: <444F6E66.4090604@tpf.co.jp>
References: <011001c6679d$c15d4740$027ba8c0@NSTMike> <20060425103703.GH23256@soptik.pzkagis.cz> <012301c66906$6c711b70$027ba8c0@NSTMike> <444F6E66.4090604@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