pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Josef Springer <Josef.Springer@joops.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ADO-Error when inserting row with text column with large text
Date: Fri, 14 Jun 2013 23:07:45 +0900
Message-ID: <51BB23B1.2030905@tpf.co.jp> (raw)
In-Reply-To: <51BABF72.2090107@joops.com>
References: <dktb0r$85d$1@news.hub.org>
	<51BABF72.2090107@joops.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Josef,

(2013/06/14 16:00), Josef Springer wrote:
> Hello,
>
> i am using
> - PostgreSQL 8.2.5
> - ODBC: PostgreSQL Unicode 8.02.04.0
>
> When i am inserting via the ADO-driver a row with column text with
> textsize about 10000, i get the ado error 0x80004005.
> Inserting the same row with the SQL-editor in pgAdmin III works fine.
>
> The ado details:
> Using cursorLocation = adUseClient
> Using lockType = adLockBatchOptimistic
> recordset editNew ... putting column values ... recordset addNew,
> recordSet updateBatch (thows the ado error)
>
> Has the ADO-diver any limitation ?
> Thanks for any help !

Please try to increase *MaxLongVarcharSize*.

regards,
Hiroshi Inoue



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (9+ messages)  latest in thread

Message-ID: <51BB23B1.2030905@tpf.co.jp>
Permalink:  ../51BB23B1.2030905@tpf.co.jp/
Also on:    postgresql.org/message-id/51BB23B1.2030905@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, Josef.Springer@joops.com
  Subject: Re: ADO-Error when inserting row with text column with large text
  In-Reply-To: <51BB23B1.2030905@tpf.co.jp>
  References: <dktb0r$85d$1@news.hub.org> <51BABF72.2090107@joops.com> <51BB23B1.2030905@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